try switching to cflags
@@ -5,7 +5,8 @@ ls "${PREFIX}/include/libxml2"
ls "${PREFIX}/include/libxml2/libxml"
export FC=mpif90
-export CC="mpicc -I${PREFIX}/include/libxml2"
+export CC="mpicc"
+export CFLAGS="${CFLAGS} -I${PREFIX}/include/libxml2"
./configure.sh AUTO
cd build; make; cd -
