diff --git a/build/configure.sh b/build/configure.sh index 51a40a390b2f1c42e874afd3d07211e31b254afc..e2574a8c64184d1a3c984b12bef9f83528e0d206 100755 --- a/build/configure.sh +++ b/build/configure.sh @@ -805,7 +805,7 @@ EOF fi if [ "x$result" = "x0" ]; then echo "yes" - OFFLOADFLAGS=" -fcf-protection=check -foffload=nvptx-none=\"-O${CXX_OPT}${CXX_DBG} -fcf-protection=check -fopt-info -lm -latomic -lgomp\"" + OFFLOADFLAGS=" -DUSE_TARGET_OFFLOAD -fcf-protection=check -foffload=nvptx-none=\"-O${CXX_OPT}${CXX_DBG} -fcf-protection=check -fopt-info -lm -latomic -lgomp\"" if [ "x${OMPFLAGS}" = "x" ]; then OFFLOADFLAGS="${OFFLOADFLAGS} -fopenmp" fi