Merge branch 'charm' of charmgit:charm into charm
authorGengbin Zheng <gzheng@newskillz.(none)>
Mon, 15 Feb 2010 20:58:19 +0000 (14:58 -0600)
committerGengbin Zheng <gzheng@newskillz.(none)>
Mon, 15 Feb 2010 20:58:19 +0000 (14:58 -0600)
src/arch/mpi-crayxt/conv-mach.sh

index 8437e44a1c480f8170d8fbde3c979cabbee29348..e803164c23e28190485ab4df7262bd4b136d7e54 100644 (file)
@@ -17,8 +17,10 @@ CMK_LD_LIBRARY_PATH="-Wl,-rpath,$CHARMLIBSO/"
 # compiler for compiling sequential programs
 if test -n "$PGCC"
 then
+CMK_CC="cc $CMK_DEFS -DCMK_CC_PGCC=1 "
+CMK_CXX="CC  $CMK_DEFS -DCMK_CC_PGCC=1 "
 # gcc is needed for building QT
-CMK_SEQ_CC="gcc -fPIC"
+CMK_SEQ_CC="gcc -fPIC "
 CMK_SEQ_CXX="pgCC -fPIC "
 else
 CMK_SEQ_CC="gcc -fPIC"