diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2008-06-03 12:36:35 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2008-06-03 12:36:35 +0200 |
commit | bca64df5016ce0cb6c69b8f55ae286916cb848b2 (patch) | |
tree | 0b715b0938c8ff3e1b3fcecf02b34d217dbedeee | |
parent | 7681d868badf6f5775256ded3d2ec8593221a5c9 (diff) | |
download | barebox-bca64df5016ce0cb6c69b8f55ae286916cb848b2.tar.gz barebox-bca64df5016ce0cb6c69b8f55ae286916cb848b2.tar.xz |
[kbuild] move -fno-builtin from architecture Makefiles to toplevel
Makefile
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | arch/arm/Makefile | 2 | ||||
-rw-r--r-- | arch/blackfin/Makefile | 2 | ||||
-rw-r--r-- | arch/m68k/Makefile | 2 | ||||
-rw-r--r-- | arch/ppc/Makefile | 2 | ||||
-rw-r--r-- | arch/sandbox/Makefile | 2 |
6 files changed, 6 insertions, 6 deletions
@@ -305,7 +305,7 @@ LINUXINCLUDE := -Iinclude \ $(if $(KBUILD_SRC),-Iinclude2 -I$(srctree)/include) \ -include include/linux/autoconf.h -CPPFLAGS := -D__KERNEL__ -D__U_BOOT__ $(LINUXINCLUDE) +CPPFLAGS := -D__KERNEL__ -D__U_BOOT__ $(LINUXINCLUDE) -fno-builtin CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \ -fno-strict-aliasing -fno-common -Os diff --git a/arch/arm/Makefile b/arch/arm/Makefile index 4280fe0c61..6b25d02cc8 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile @@ -1,5 +1,5 @@ -CPPFLAGS += -fno-builtin -ffreestanding -nostdinc -Wall \ +CPPFLAGS += -ffreestanding -nostdinc -Wall \ -pipe -D __ARM__ -fno-strict-aliasing diff --git a/arch/blackfin/Makefile b/arch/blackfin/Makefile index a8b23ed00e..7f42a1d54c 100644 --- a/arch/blackfin/Makefile +++ b/arch/blackfin/Makefile @@ -1,5 +1,5 @@ -CPPFLAGS += -fno-builtin -ffreestanding -nostdinc -Wall \ +CPPFLAGS += -ffreestanding -nostdinc -Wall \ -pipe -fno-strict-aliasing diff --git a/arch/m68k/Makefile b/arch/m68k/Makefile index f568a8b26c..463bf7e174 100644 --- a/arch/m68k/Makefile +++ b/arch/m68k/Makefile @@ -18,7 +18,7 @@ # along with U-Boot V2. If not, see <http://www.gnu.org/licenses/>. # -CPPFLAGS += -fno-builtin -ffreestanding -nostdinc -Wall \ +CPPFLAGS += -ffreestanding -nostdinc -Wall \ -isystem $(gccincdir) -pipe -D __M68K__ \ -fno-strict-aliasing diff --git a/arch/ppc/Makefile b/arch/ppc/Makefile index 99dafb21c8..18df409446 100644 --- a/arch/ppc/Makefile +++ b/arch/ppc/Makefile @@ -1,5 +1,5 @@ -CPPFLAGS += -fno-builtin -ffreestanding -nostdinc -Wall -ffixed-r14 \ +CPPFLAGS += -ffreestanding -nostdinc -Wall -ffixed-r14 \ -pipe -meabi -Wstrict-prototypes -D __PPC__ -D CONFIG_PPC \ -fno-strict-aliasing diff --git a/arch/sandbox/Makefile b/arch/sandbox/Makefile index 19a41fd7aa..5dfba59e81 100644 --- a/arch/sandbox/Makefile +++ b/arch/sandbox/Makefile @@ -1,5 +1,5 @@ -CPPFLAGS += -fno-builtin -ffreestanding -nostdinc -Wall \ +CPPFLAGS += -ffreestanding -nostdinc -Wall \ -pipe -fno-strict-aliasing machine-y := sandbox |