summaryrefslogtreecommitdiff
path: root/etc/jwstdp-latest/pkgs/002-fitsverify.sh
diff options
context:
space:
mode:
Diffstat (limited to 'etc/jwstdp-latest/pkgs/002-fitsverify.sh')
-rw-r--r--etc/jwstdp-latest/pkgs/002-fitsverify.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/jwstdp-latest/pkgs/002-fitsverify.sh b/etc/jwstdp-latest/pkgs/002-fitsverify.sh
index 3469f3d..424daf8 100644
--- a/etc/jwstdp-latest/pkgs/002-fitsverify.sh
+++ b/etc/jwstdp-latest/pkgs/002-fitsverify.sh
@@ -9,8 +9,8 @@ tar xf "$(basename ${url})"
pushd "${name}" &>/dev/null
gcc -o ${name} ftverify.c fvrf_data.c fvrf_file.c fvrf_head.c \
- fvrf_key.c fvrf_misc.c -DSTANDALONE -I${TOOLCHAIN_INCLUDE} \
- -L${TOOLCHAIN_LIB} -Wl,-rpath=${TOOLCHAIN_LIB} -lcfitsio -lm -lnsl
+ fvrf_key.c fvrf_misc.c ${CFLAGS} -DSTANDALONE \
+ ${LDFLAGS} -lcfitsio -lm -lnsl
install -m 755 -t "${TOOLCHAIN_BIN}" ${name}
popd &>/dev/null