Removing not needed option -Wl
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 13 Jun 2012 10:04:49 +0000 (10:04 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 13 Jun 2012 10:04:49 +0000 (10:04 +0000)
cmake/CMakelinux.cmake
cmake/CMakelinuxalphagcc.cmake
cmake/CMakelinuxia64gcc.cmake
cmake/CMakelinuxx8664gcc.cmake

index 88d2805..1c8e6b7 100644 (file)
@@ -105,7 +105,7 @@ else()
 endif(${CMAKE_Fortran_COMPILER} MATCHES "g95")
 
 set(LDFLAGS "${OPT}")
-set(SOFLAGS "${OPT} -shared -Wl")
+set(SOFLAGS "${OPT} -shared")
 set(ALLIB)
 
 
index 918a7ed..bc5c9ef 100644 (file)
@@ -108,7 +108,7 @@ else()
 endif(${CMAKE_Fortran_COMPILER} MATCHES "g95")
 
 set(LDFLAGS "${OPT}")
-set(SOFLAGS "${OPT} -shared -Wl")
+set(SOFLAGS "${OPT} -shared")
 set(ALLIB)
 
 
index 54a2143..10c4535 100644 (file)
@@ -51,7 +51,7 @@ set(FFLAGS "${CLIBFOPT} ${FOPT} -Wall -fPIC -pipe -fno-second-underscore")
 set(SYSLIBS "-ldl -lg2c -lcrypt -L/usr/X11R6/lib -lX11")
 
 set(LDFLAGS "${OPT}")
-set(SOFLAGS "${OPT} -Wall -fPIC -pipe -shared -Wl")
+set(SOFLAGS "${OPT} -Wall -fPIC -pipe -shared")
 set(SHLIB "-lg2c")
 set(ALLIB)
 
index 5bbea12..700f001 100644 (file)
@@ -118,7 +118,7 @@ else()
 endif(${CMAKE_Fortran_COMPILER} MATCHES "g95")
 
 set(LDFLAGS "${OPT}")
-set(SOFLAGS "${OPT} -shared -Wl")
+set(SOFLAGS "${OPT} -shared")
 set(ALLIB)