added -fpic for dynamic libs.
authorGengbin Zheng <gzheng@illinois.edu>
Sat, 8 Nov 2003 02:19:20 +0000 (02:19 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Sat, 8 Nov 2003 02:19:20 +0000 (02:19 +0000)
src/arch/elan-linux-ia64/conv-mach.sh

index 4e9f69fca283615dd958af817088fdff8095a778..5c0bbd3b323aa3bbc000be450fc560b41914abde 100644 (file)
@@ -1,16 +1,22 @@
 CMK_CPP_CHARM='/lib/cpp -P'
-CMK_CPP_C='gcc -E'
-CMK_CC='gcc '
-CMK_CXX='g++ '
+CMK_CPP_C="gcc -E $CMK_INCDIR "
+CMK_CC="gcc -fpic $CMK_INCDIR "
+CMK_CXX="g++ -fpic $CMK_INCDIR "
 CMK_CXXPP="$CMK_CXX -x c++ -E  "
+CMK_LD="gcc $CMK_LIBDIR "
+CMK_LDXX="g++ $CMK_LIBDIR "
 CMK_CF77='f77'
 CMK_CF90='f90'
 CMK_RANLIB='ranlib'
 CMK_LIBS='-lckqt -lelan'
 CMK_LD_SHARED="-shared"
-#CMK_LD_LIBRARY_PATH="-Wl,-rpath,$CHARMLIBSO/"
+CMK_LD_LIBRARY_PATH="-Wl,-rpath,$CHARMLIBSO/"
+CMK_SEQ_CC="gcc $CMK_INCDIR "
+CMK_SEQ_LD="gcc $CMK_LIBDIR "
+CMK_SEQ_CXX="g++ $CMK_INCDIR "
+CMK_SEQ_LDXX="g++ $CMK_LIBDIR "
 CMK_QT='generic64'
 CMK_XIOPTS=''
 CMK_F90LIBS='-lUfor -lfor -lFutil'
 CMK_MOD_EXT="mod"
-CMK_NO_BUILD_SHARED=true
+#CMK_NO_BUILD_SHARED=true