diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2008-06-03 12:39:45 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2008-06-03 12:39:45 +0200 |
commit | 847934bc960ba1588c87e283118318dfdd78d4c0 (patch) | |
tree | b920bc3db045395baf792a27e31af3f874e4e37f /Makefile | |
parent | b8725ffe1db57499eff887a8f10b726dc8946a03 (diff) | |
download | barebox-847934bc960ba1588c87e283118318dfdd78d4c0.tar.gz barebox-847934bc960ba1588c87e283118318dfdd78d4c0.tar.xz |
[kbuild] move -nostdinc from architecture Makefiles to toplevel
Makefile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -305,7 +305,8 @@ LINUXINCLUDE := -Iinclude \ $(if $(KBUILD_SRC),-Iinclude2 -I$(srctree)/include) \ -include include/linux/autoconf.h -CPPFLAGS := -D__KERNEL__ -D__U_BOOT__ $(LINUXINCLUDE) -fno-builtin -ffreestanding +CPPFLAGS := -D__KERNEL__ -D__U_BOOT__ $(LINUXINCLUDE) -fno-builtin -ffreestanding \ + -nostdinc CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \ -fno-strict-aliasing -fno-common -Os |