Author: particle Date: Tue Jan 27 15:03:42 2009 New Revision: 36072 Modified: trunk/config/init/hints/linux.pm
Log: [config] add hint for icc, to induce correct floating point behavior instead of broken default behavior Modified: trunk/config/init/hints/linux.pm ============================================================================== --- trunk/config/init/hints/linux.pm (original) +++ trunk/config/init/hints/linux.pm Tue Jan 27 15:03:42 2009 @@ -92,6 +92,10 @@ $ccflags .= ' -Wunused-function'; $ccflags .= ' -Wunused-variable'; + # enable correct floating point behavior + # which is *not* the default behavior. ahem. + $ccflags .= ' -we147'; + $ld_share_flags = ' -shared -g -pipe -fexceptions -fPIC'; $cc_shared .= ' -fPIC';