[svn:parrot] r36072 - trunk/config/init/hints
[email protected] Tue, 27 Jan 2009 15:03:43 -0800 (PST)
| Newsgroups | perl.cvs.parrot |
|---|---|
| Message-ID | <[email protected]> |
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';