ar71xx: fix lzma-loader build with glibc
[openwrt/staging/jogo.git] / target / linux / ar71xx / image / lzma-loader / src / Makefile
index 682b31fe8c9d01618504975638922165feae5968..c54f64a550b6fab66b87589e335d646b5f91ba19 100644 (file)
@@ -33,7 +33,7 @@ BIN_FLAGS     := -O binary -R .reginfo -R .note -R .comment -R .mdebug \
 CFLAGS         = -D__KERNEL__ -Wall -Wstrict-prototypes -Wno-trigraphs -Os \
                  -fno-strict-aliasing -fno-common -fomit-frame-pointer -G 0 \
                  -mno-abicalls -fno-pic -ffunction-sections -pipe -mlong-calls \
-                 -fno-common -ffreestanding -fhonour-copts \
+                 -fno-common -ffreestanding -fhonour-copts -nostartfiles \
                  -mabi=32 -march=mips32r2 \
                  -Wa,-32 -Wa,-march=mips32r2 -Wa,-mips32r2 -Wa,--trap
 CFLAGS         += -D_LZMA_PROB32