From bca64df5016ce0cb6c69b8f55ae286916cb848b2 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Tue, 3 Jun 2008 12:36:35 +0200 Subject: [kbuild] move -fno-builtin from architecture Makefiles to toplevel Makefile --- Makefile | 2 +- arch/arm/Makefile | 2 +- arch/blackfin/Makefile | 2 +- arch/m68k/Makefile | 2 +- arch/ppc/Makefile | 2 +- arch/sandbox/Makefile | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 5d338c05a8..273309c705 100644 --- a/Makefile +++ b/Makefile @@ -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 . # -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 -- cgit v1.2.3