Skip to content

Commit

Permalink
fix: added fpic flags
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Oct 29, 2023
1 parent 4934a66 commit b1a3c97
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/build/extras/ntp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit b1a3c97

Please sign in to comment.