change charm to not build shared library form by default. build with --build-shared...
[charm.git] / src / arch / net-linux-x86_64 / conv-mach.sh
index 1e40a6f43da7337b82b8df3bd0dfb110ff3a8b8d..448dafbfc4ae78402c13a013df025fc8719607fb 100644 (file)
@@ -1,10 +1,11 @@
 #CMK_DEFS="$CMK_DEFS -DHAVE_USR_INCLUDE_MALLOC_H=1 "
 CMK_AMD64="-m64"
 
+CMK_PIC="-fPIC"
 CMK_CPP_CHARM="/lib/cpp -P"
 CMK_CPP_C="gcc -E $CMK_AMD64 "
-CMK_CC="gcc -fPIC $CMK_AMD64 "
-CMK_CXX="g++ -fPIC $CMK_AMD64 "
+CMK_CC="gcc $CMK_AMD64 "
+CMK_CXX="g++ $CMK_AMD64 "
 CMK_CXXPP="$CMK_CXX -x c++ -E $CMK_AMD64 "
 CMK_XIOPTS=""
 CMK_LD="$CMK_CC $CMK_AMD64 "