Skip to content

Commit

Permalink
Set fPIC
Browse files Browse the repository at this point in the history
  • Loading branch information
bjia56 authored Nov 29, 2024
1 parent 3811b12 commit 32ccd12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build_linux_zig.sh
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ else
download_verify_extract libffi-3.4.6.tar.gz
cd libffi*
fi
CFLAGS="${CFLAGS} -Wl,--undefined-version" ./configure --host=${CHOST} --prefix=${DEPSDIR}
CFLAGS="${CFLAGS} -Wl,--undefined-version -fPIC" ./configure --host=${CHOST} --prefix=${DEPSDIR}
make -j4
make install
install_license
Expand Down

0 comments on commit 32ccd12

Please sign in to comment.