diff --git a/scripts/build/extras/ntp.sh b/scripts/build/extras/ntp.sh index 284d44e9..af16cf73 100755 --- a/scripts/build/extras/ntp.sh +++ b/scripts/build/extras/ntp.sh @@ -7,6 +7,9 @@ set -e +h source $DIR/common.sh +if [ -z "$CFLAGS" ]; then export CFLAGS="-O2"; fi +export CFLAGS="$CFLAGS -fpic" + rget "https://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-$VERSION_M/ntp-$VERSION.tar.gz"\ "https://ftp.osuosl.org/pub/blfs/conglomeration/ntp/ntp-$VERSION.tar.gz" rm -rf ntp-$VERSION && tar -zxf "ntp-$VERSION.tar.gz"