Ticket #1562: ccwarn-undef.patch

File ccwarn-undef.patch, 0.8 KB (added by doughera, 4 years ago)
  • config/init/defaults.pm

     
    9494        # Compiler -- used to turn .c files into object files. 
    9595        # (Usually cc or cl, or something like that.) 
    9696        cc      => $cc_option ? $cc_option : $Config{cc}, 
    97         # If we specify a compiler, we can't use existing ccflags and ccwarn. 
     97        # If we specify a compiler, we can't use existing ccflags. 
    9898        ccflags => $cc_option ? ''         : $Config{ccflags}, 
    99         ccwarn  => $cc_option ? ''         : $Config{ccwarn}, 
     99        ccwarn  => '', 
    100100 
    101101        # Flags used to indicate this object file is to be compiled 
    102102        # with position-independent code suitable for dynamic loading.