changeset 4735:84a38283b2ba

7142617: De-optimize fdlibm compilation [macosx] Reviewed-by: darcy, chegar
author michaelm
date Mon, 06 Feb 2012 12:22:07 +0000
parents fe20b8d533d1
children f2ca2bc9961d
files make/java/fdlibm/Makefile
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/make/java/fdlibm/Makefile	Sat Feb 04 15:22:42 2012 +0000
+++ b/make/java/fdlibm/Makefile	Mon Feb 06 12:22:07 2012 +0000
@@ -1,5 +1,5 @@
 #
-# Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved.
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 #
 # This code is free software; you can redistribute it and/or modify it
@@ -60,6 +60,12 @@
   FASTDEBUG_OPTIMIZATION_LEVEL = NONE
 endif
 
+ifeq ($(PLATFORM),macosx)
+  # Turn all optimizations off
+  OPTIMIZATION_LEVEL = NONE
+  FASTDEBUG_OPTIMIZATION_LEVEL = NONE
+endif
+
 #
 # Include path.
 #