minor fix about link option
authorYanhua Sun <sun51@hopper10.(none)>
Mon, 5 Mar 2012 20:17:21 +0000 (12:17 -0800)
committerYanhua Sun <sun51@hopper10.(none)>
Mon, 5 Mar 2012 20:17:21 +0000 (12:17 -0800)
src/scripts/charmc

index 6a66790261f957bae640b0b9235abfe74e56d9b7..a8c58ec59ffdd4373a5f99bfb3f707769f5be045 100755 (executable)
@@ -811,7 +811,7 @@ fi
 if [ -z "$NATIVE" -a -n "$UGNI_CFLAGS" ]
 then
     linkopt=`env | grep  "HUGETLB[0-9]*[MKG]_POST_LINK_OPTS" 2> /dev/null`
-    test -n "$linkopt=" && POST_LIBRARIES=`AddList $POST_LIBRARIES $CHARMLIB/cray_tlbhack.o`
+    test -z "$linkopt=" && POST_LIBRARIES=`AddList $POST_LIBRARIES $CHARMLIB/cray_tlbhack.o`
 fi
 
 PROCESSED_MODULES=""