diff --git a/distro/scripts/adl_cots.sh b/distro/scripts/adl_cots.sh
index bc71d4dd61998dc7805ea609608ada1e8a2e7636..40b64fc273e065aaf30ee944afebd3240b9fdd2b 100755
--- a/distro/scripts/adl_cots.sh
+++ b/distro/scripts/adl_cots.sh
@@ -483,14 +483,14 @@ mk_hl_region()
 
 mk_nagg(){
     echo "${FUNCNAME[0]}"
-    export CPPFLAGS="-I${USER_COTS_PATH}/include"  && \
-    export CFLAGS="-I${USER_COTS_PATH}/include"  && \
-    export LDFLAGS=" -static -L${USER_COTS_PATH}/lib64 -L${USER_COTS_PATH}/lib"  && \
-    export LIBS="-lhdf5"
-
-    cd  ${BUILD}  && \
-    tar_name=nagg-1.6.2.tar.gz  && \
-    rm -fr ${BUILD}/nagg*  && \
+    # export CPPFLAGS="-I${USER_COTS_PATH}/include"  && \
+    # export CFLAGS="-I${USER_COTS_PATH}/include"  && \
+    # export LDFLAGS=" -static -L${USER_COTS_PATH}/lib64 -L${USER_COTS_PATH}/lib"  && \
+    # export LIBS="-lhdf5"
+
+    cd  ${BUILD}  
+    tar_name=nagg-1.6.2.tar.gz  
+    rm -fr ${BUILD}/nagg*  
     install_the_source ${tar_name}  && \
     cd nagg-1.6.2  && \
     patch -p1 <  ${COTS_HOME}/scripts/revised_nagg.patch   && \