File tree Expand file tree Collapse file tree 15 files changed +23
-6
lines changed
Expand file tree Collapse file tree 15 files changed +23
-6
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ busybox_config := config/busybox.config
1313busybox_output := busybox
1414busybox_target := \
1515 $(CROSS_TOOLS) \
16+ CFLAGS="-Os" \
1617 $(MAKE_JOBS) \
1718
1819# Install symlinks when the busybox program is installed
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ cairo_hash := 8c90f00c500b2299c0a323dd9beead2a00353752b2092ead558139bd67f7bf16
88
99cairo_configure := \
1010 $(CROSS_TOOLS) \
11- CFLAGS="-DCAIRO_NO_MUTEX=1 -O3 " \
11+ CFLAGS="-DCAIRO_NO_MUTEX=1 -Os " \
1212 ./configure \
1313 --host i386-elf-linux \
1414 --prefix="/" \
Original file line number Diff line number Diff line change @@ -10,8 +10,10 @@ cryptsetup_hash := af2b04e8475cf40b8d9ffd97a1acfa73aa787c890430afd89804fb544d6ad
1010
1111# Use an empty prefix so that the executables will not include the
1212# build path.
13- cryptsetup_configure := ./configure \
13+ cryptsetup_configure := \
1414 $(CROSS_TOOLS) \
15+ CFLAGS="-Os" \
16+ ./configure \
1517 --host i386-elf-linux \
1618 --prefix "/" \
1719 --disable-gcrypt-pbkdf2 \
Original file line number Diff line number Diff line change @@ -10,8 +10,10 @@ cryptsetup2_hash := 3bca4ffe39e2f94cef50f6ea65acb873a6dbce5db34fc6bcefe38b6d095e
1010
1111# Use an empty prefix so that the executables will not include the
1212# build path.
13- cryptsetup2_configure := ./configure \
13+ cryptsetup2_configure := \
1414 $(CROSS_TOOLS) \
15+ CFLAGS="-Os" \
16+ ./configure \
1517 --host i386-elf-linux \
1618 --prefix "/" \
1719 --disable-rpath \
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ flashrom_url := https://github.com/flashrom/flashrom/archive/$(flashrom_version)
99flashrom_hash := 4873ad50f500629c244fc3fbee64b56403a82307d7f555dfa235336a200c336c
1010
1111flashrom_target := \
12+ CFLAGS="-Os" \
1213 $(MAKE_JOBS) \
1314 $(CROSS_TOOLS) \
1415 WARNERROR=no \
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ gpg_hash := 6b47a3100c857dcab3c60e6152e56a997f2c7862c1b8b2b25adf3884a1ae2276
1919#
2020gpg_configure := ./configure \
2121 $(CROSS_TOOLS) \
22+ CFLAGS="-Os" \
2223 --build i386-elf-linux \
2324 --host x86_64-linux-musl \
2425 --with-libusb="$(INSTALL)" \
Original file line number Diff line number Diff line change @@ -11,7 +11,9 @@ gpg2_hash := 61e83278fb5fa7336658a8b73ab26f379d41275bb1c7c6e694dd9f9a6e8e76ec
1111# be generated with the correct paths, but then re-write them when
1212# we use the install target so that they will be copied to the correct
1313# location.
14- gpg2_configure := ./configure \
14+ gpg2_configure := \
15+ CFLAGS="-Os" \
16+ ./configure \
1517 $(CROSS_TOOLS) \
1618 CPPFLAGS="-I$(INSTALL)/include/libusb-1.0" \
1719 --host x86_64-linux-musl \
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ libgcrypt_hash := 0cba2700617b99fc33864a0c16b1fa7fdf9781d9ed3509f5d767178e5fd7b9
77
88libgcrypt_configure := ./configure \
99 $(CROSS_TOOLS) \
10+ CFLAGS="-Os" \
1011 --host=x86_64-linux-musl \
1112 --prefix "/" \
1213 --disable-static \
Original file line number Diff line number Diff line change @@ -5,8 +5,10 @@ libgpg-error_tar := libgpg-error-$(libgpg-error_version).tar.bz2
55libgpg-error_url := https://gnupg.org/ftp/gcrypt/libgpg-error/$(libgpg-error_tar)
66libgpg-error_hash := b32d6ff72a73cf79797f7f2d039e95e9c6f92f0c1450215410840ab62aea9763
77
8- libgpg-error_configure := ./configure \
8+ libgpg-error_configure := \
99 $(CROSS_TOOLS) \
10+ CFLAGS="-Os" \
11+ ./configure \
1012 --prefix "/" \
1113 --host=x86_64-linux-musl \
1214 --disable-static \
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ libpng_hash := 574623a4901a9969080ab4a2df9437026c8a87150dfd5c235e28c94b212964a7
88
99libpng_configure := \
1010 $(CROSS_TOOLS) \
11+ CFLAGS="-Os" \
1112 ./configure \
1213 --host i386-elf-linux \
1314 --prefix="/" \
You can’t perform that action at this time.
0 commit comments