| Submitter | Andrew Morton |
|---|---|
| Date | 2009-09-18 19:49:37 |
| Message ID | <200909181949.n8IJnbGT019416@imap1.linux-foundation.org> |
| Download | mbox | patch |
| Permalink | /patch/48629/ |
| State | New |
| Headers | show |
Comments
Patch
diff -puN Makefile~kbuild-set-fconserve-stack-option-for-gcc-45 Makefile --- a/Makefile~kbuild-set-fconserve-stack-option-for-gcc-45 +++ a/Makefile @@ -573,6 +573,9 @@ KBUILD_CFLAGS += $(call cc-option,-fno-s # revert to pre-gcc-4.4 behaviour of .eh_frame KBUILD_CFLAGS += $(call cc-option,-fno-dwarf2-cfi-asm) +# conserve stack if available +KBUILD_CFLAGS += $(call cc-option,-fconserve-stack) + # Add user supplied CPPFLAGS, AFLAGS and CFLAGS as the last assignments # But warn user when we do so warn-assign = \