add var explicitly to make
@@ -47,10 +47,10 @@ export SCALAPACK_SIZE=4
export SCALAPACK="$PREFIX"
cd "$NWCHEM_TOP"/src
-CC=${CC} make nwchem_config
+CC="${CC}" make nwchem_config
cat ${SRC_DIR}/src/config/nwchem_config.h
make 64_to_32
-make
+CC="${CC}" make
mkdir -p "$PREFIX"/share/nwchem/libraryps/
