diff --git a/arch/arm/Makefile b/arch/arm/Makefile index 48e577d98..5ad588857 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile @@ -1,7 +1,6 @@ CPPFLAGS += -fno-builtin -ffreestanding -nostdinc -Wall \ - -isystem $(gccincdir) -pipe -D __ARM__ \ - -fno-strict-aliasing + -pipe -D __ARM__ -fno-strict-aliasing machine-$(CONFIG_ARCH_IMX) := imx diff --git a/arch/blackfin/Makefile b/arch/blackfin/Makefile index 2ecbe01dd..8f3bc7173 100644 --- a/arch/blackfin/Makefile +++ b/arch/blackfin/Makefile @@ -1,7 +1,6 @@ CPPFLAGS += -fno-builtin -ffreestanding -nostdinc -Wall \ - -isystem $(gccincdir) -pipe \ - -fno-strict-aliasing + -pipe -fno-strict-aliasing board-$(CONFIG_MACH_IPE337) := ipe337 diff --git a/arch/ppc/Makefile b/arch/ppc/Makefile index 9756aad99..0299b794e 100644 --- a/arch/ppc/Makefile +++ b/arch/ppc/Makefile @@ -1,6 +1,6 @@ CPPFLAGS += -fno-builtin -ffreestanding -nostdinc -Wall -ffixed-r14 \ - -isystem $(gccincdir) -meabi -Wstrict-prototypes -D __PPC__ -D CONFIG_PPC \ + -pipe -meabi -Wstrict-prototypes -D __PPC__ -D CONFIG_PPC \ -fno-strict-aliasing ifdef CONFIG_RELOCATABLE diff --git a/arch/sandbox/Makefile b/arch/sandbox/Makefile index 9794c1141..6622fe89a 100644 --- a/arch/sandbox/Makefile +++ b/arch/sandbox/Makefile @@ -1,8 +1,6 @@ CPPFLAGS += -fno-builtin -ffreestanding -nostdinc -Wall \ - -isystem $(gccincdir) -pipe \ - -fno-strict-aliasing - + -pipe -fno-strict-aliasing machine-y := sandbox