Using the same optimization in the compiler and in the linker
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 23 Oct 2003 10:03:49 +0000 (10:03 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 23 Oct 2003 10:03:49 +0000 (10:03 +0000)
build/Makefile.Linux
build/Makefile.icc

index 51c5c0c..cc6d7b9 100644 (file)
@@ -31,7 +31,7 @@ LD            = g++
 LDFLAGS       = $(OPT) 
 
 SHLD         = $(LD)
-SOFLAGS       = -O2 -shared -Wl 
+SOFLAGS       = $(OPT) -shared -Wl 
 SHLIB         = -lg2c
 SOEXT        = so
 
index 1fc7f45..fe05d8f 100644 (file)
@@ -31,7 +31,7 @@ LD            = icc
 LDFLAGS       = $(OPT) 
 
 SHLD         = $(LD)
-SOFLAGS       = -Wl,-soname,$$TMPLIB -shared -O
+SOFLAGS       = -Wl,-soname,$$TMPLIB -shared $(OPT)
 SHLIB         =
 SOEXT        = so