diff --git a/distro/scripts/adl_cots.sh b/distro/scripts/adl_cots.sh index 40b64fc273e065aaf30ee944afebd3240b9fdd2b..04c7a321d8b564409b6e05631d5431e228989269 100755 --- a/distro/scripts/adl_cots.sh +++ b/distro/scripts/adl_cots.sh @@ -494,7 +494,7 @@ mk_nagg(){ install_the_source ${tar_name} && \ cd nagg-1.6.2 && \ patch -p1 < ${COTS_HOME}/scripts/revised_nagg.patch && \ - ./configure --prefix=${USER_COTS_PATH} --exec-prefix="${USER_COTS_PATH}" --with-hlregion="${USER_COTS_PATH}/lib" CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" && \ + ./configure --prefix=${USER_COTS_PATH} --exec-prefix="${USER_COTS_PATH}" --with-hlregion="${USER_COTS_PATH}/lib" CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" LDFLAGS=" -static ${LDFLAGS}" && \ make && \ make install && \ unset LDFLAGS && \