summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2005-11-23 09:52:14 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2005-11-23 09:52:14 +0000
commitdd64171b447589bc0b2832671489327c38ba5c51 (patch)
treeba849c2727df695685d4a4e8ba12eacc01add9fc
parentd062b08c8b9d5a32a5965ea29c99b0a753acb1bb (diff)
downloadATCD-dd64171b447589bc0b2832671489327c38ba5c51.tar.gz
ChangeLogTag: Wed Nov 23 09:52:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
-rw-r--r--include/makeinclude/platform_linux_icc.GNU12
1 files changed, 9 insertions, 3 deletions
diff --git a/include/makeinclude/platform_linux_icc.GNU b/include/makeinclude/platform_linux_icc.GNU
index 337b898abe9..db0c6d298a8 100644
--- a/include/makeinclude/platform_linux_icc.GNU
+++ b/include/makeinclude/platform_linux_icc.GNU
@@ -102,9 +102,15 @@ ifneq ($(SYSARCH),ia64)
endif
# Disable floating point optimizer solves problem with
-# min/max float values in the TAO_IDL compiler
-ifeq ($(SYSARCH),ia64)
- CPPFLAGS += -mp
+# min/max float values in the TAO_IDL compiler tests when
+# optimizations are enabled. If these options are not
+# passed we can get overflows when testing min/max
+ifeq ($(optimize),0)
+ ifeq ($(SYSARCH),ia64)
+ CPPFLAGS += -mp
+ else
+ CPPFLAGS += --fp-model double
+ endif
endif
PIC = -fPIC