source: trunk/target/linux/uml/patches-2.6.39/002-gcc4_unfortify_source.patch @ 27110

Last change on this file since 27110 was 27110, checked in by florian, 6 years ago

[uml] update to 2.6.39.1

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.