From b1a3c97cbdba27207f5c57de47a1fabddd74c5ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= Date: Sun, 29 Oct 2023 14:26:30 +0000 Subject: [PATCH] fix: added fpic flags --- scripts/build/extras/ntp.sh | 3 +++ 1 file changed, 3 insertions(+) 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"