diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2006-08-16 12:41:16 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-08-16 12:41:16 -0700 |
commit | 774bd8613d0188cda72408f8ffce258d73953cad (patch) | |
tree | b5f2eaeecd41c868d83d6aa443da776852cd4c95 /Makefile | |
parent | 223ddcea898940b0b02bd6e624dbba3507c97365 (diff) | |
parent | c9eca0b91015bc685c2f35a50efc63d73fdf943a (diff) | |
download | kernel_samsung_crespo-774bd8613d0188cda72408f8ffce258d73953cad.zip kernel_samsung_crespo-774bd8613d0188cda72408f8ffce258d73953cad.tar.gz kernel_samsung_crespo-774bd8613d0188cda72408f8ffce258d73953cad.tar.bz2 |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-2.6.18
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -309,9 +309,6 @@ CPPFLAGS := -D__KERNEL__ $(LINUXINCLUDE) CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \ -fno-strict-aliasing -fno-common -# Force gcc to behave correct even for buggy distributions -CFLAGS += $(call cc-option, -fno-stack-protector) - AFLAGS := -D__ASSEMBLY__ # Read KERNELRELEASE from include/config/kernel.release (if it exists) @@ -486,6 +483,8 @@ else CFLAGS += -O2 endif +include $(srctree)/arch/$(ARCH)/Makefile + ifdef CONFIG_FRAME_POINTER CFLAGS += -fno-omit-frame-pointer $(call cc-option,-fno-optimize-sibling-calls,) else @@ -500,7 +499,8 @@ ifdef CONFIG_DEBUG_INFO CFLAGS += -g endif -include $(srctree)/arch/$(ARCH)/Makefile +# Force gcc to behave correct even for buggy distributions +CFLAGS += $(call cc-option, -fno-stack-protector) # arch Makefile may override CC so keep this after arch Makefile is included NOSTDINC_FLAGS += -nostdinc -isystem $(shell $(CC) -print-file-name=include) |