source: trunk/target/linux/uml/patches-2.6.30/002-gcc4_unfortify_source.patch @ 19572

Last change on this file since 19572 was 19572, checked in by florian, 7 years ago

[uml] move 2.6.30 patches to their appropriate directory

File size: 754 bytes
  • arch/um/Makefile-i386

    a b KBUILD_CFLAGS += $(shell if [ $(call cc- 
    3939                        echo $(call cc-option,-fno-unit-at-a-time); \ 
    4040                        else echo $(call cc-option,-funit-at-a-time); fi ;) 
    4141 
     42# disable compile-time buffer checks, enabled by default on Ubuntu 8.10  
     43# and later 
     44KBUILD_CFLAGS += $(call cc-option,-U_FORTIFY_SOURCE) 
     45 
    4246KBUILD_CFLAGS += $(cflags-y) 
  • arch/um/Makefile-x86_64

    a b LINK-y += -m64 
    2424 
    2525# Do unit-at-a-time unconditionally on x86_64, following the host 
    2626KBUILD_CFLAGS += $(call cc-option,-funit-at-a-time) 
     27 
     28# disable compile-time buffer checks, enabled by default on Ubuntu 8.10  
     29# and later 
     30KBUILD_CFLAGS += $(call cc-option,-U_FORTIFY_SOURCE) 
Note: See TracBrowser for help on using the repository browser.