From d77152b5a5ac88a8804373d3d9b1d1f65e5cbe4c Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Mon, 29 Feb 2016 13:33:55 +0100 Subject: [PATCH] use OPTFLAGS=-Os for bootloader docker build --- bootloader-docker-build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/bootloader-docker-build.sh b/bootloader-docker-build.sh index 918a64ec17..636a095aa0 100755 --- a/bootloader-docker-build.sh +++ b/bootloader-docker-build.sh @@ -9,6 +9,7 @@ docker run -t -v $(pwd)/output:/output $IMAGETAG /bin/sh -c "\ git checkout $FIRMWARETAG && \ git submodule update --init && \ make -C vendor/libopencm3 && \ + export OPTFLAGS=-Os make && \ make -C bootloader && \ cp bootloader/bootloader.bin /output/bootloader-$FIRMWARETAG.bin"