X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/17c7b6c3fdc48301e50d22cc6138ede16bd1be24..3d57b2da712e9646de9a0a6a2a48e45706205eeb:/target/linux/adm5120/image/lzma-loader/src/Makefile diff --git a/target/linux/adm5120/image/lzma-loader/src/Makefile b/target/linux/adm5120/image/lzma-loader/src/Makefile index a553b7fde..f23d040cd 100644 --- a/target/linux/adm5120/image/lzma-loader/src/Makefile +++ b/target/linux/adm5120/image/lzma-loader/src/Makefile @@ -37,10 +37,10 @@ BIN_FLAGS := -O binary -R .reginfo -R .note -R .comment -R .mdebug -S 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 \ + -ffunction-sections -pipe -mlong-calls -fno-common -ffreestanding \ + -fhonour-copts \ -mabi=32 -march=mips32 -Wa,-32 -Wa,-march=mips32 -Wa,-mips32 -Wa,--trap -CFLAGS += -DLOADADDR=$(LOADADDR) +CFLAGS += -DLOADADDR=$(LOADADDR) -D_LZMA_PROB32 ASFLAGS = $(CFLAGS) -D__ASSEMBLY__ -DLZMA_STARTUP_ORG=$(LZMA_STARTUP_ORG)