diff options
| author | Dave Jones <davej@suse.de> | 2002-11-25 02:36:41 -0800 |
|---|---|---|
| committer | Dave Jones <davej@codemonkey.org.uk> | 2002-11-25 02:36:41 -0800 |
| commit | cf2dbf6401d4f786a75193b84dff19db060e38a6 (patch) | |
| tree | b7630b7e5ff66007225addc94fccacdcc3f20030 /Makefile | |
| parent | c7830dae29208aad2d9170d7f00dd756b53dd852 (diff) | |
[PATCH] CONFIG_FRAME_POINTER
From 2.4, this adds a CONFIG_ option to disable
the usage of -fomit-frame-pointer
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -168,7 +168,10 @@ NOSTDINC_FLAGS = -nostdinc -iwithprefix include CPPFLAGS := -D__KERNEL__ -Iinclude CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes -Wno-trigraphs -O2 \ - -fomit-frame-pointer -fno-strict-aliasing -fno-common + -fno-strict-aliasing -fno-common +ifndef CONFIG_FRAME_POINTER +CFLAGS += -fomit-frame-pointer +endif AFLAGS := -D__ASSEMBLY__ $(CPPFLAGS) export VERSION PATCHLEVEL SUBLEVEL EXTRAVERSION KERNELRELEASE ARCH \ |
