summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-01-30 08:23:36 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-01-30 08:23:36 +0000
commitc6eb29b2ab1ffe3657e7843573e451b778b8f6fa (patch)
tree1fd032bf1ab83cc7db08cd8dbad25c91757f6f88 /target
parent6cc48ee631c430ca6ec287ba86936f6c8af86a03 (diff)
[adm5120] lzma-loader: fix compiler warnings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10321 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/adm5120/image/lzma-loader/src/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/adm5120/image/lzma-loader/src/Makefile b/target/linux/adm5120/image/lzma-loader/src/Makefile
index aad845ae0..f23d040cd 100644
--- a/target/linux/adm5120/image/lzma-loader/src/Makefile
+++ b/target/linux/adm5120/image/lzma-loader/src/Makefile
@@ -37,8 +37,8 @@ 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) -D_LZMA_PROB32