Skip to content

Commit

Permalink
guix: add -fPIC to linux CXXFLAGS
Browse files Browse the repository at this point in the history
  • Loading branch information
vertiond committed Mar 31, 2022
1 parent dcf957a commit 4021ad4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/guix/libexec/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ esac
# CFLAGS
HOST_CFLAGS="-O2 -g"
case "$HOST" in
*linux*) HOST_CFLAGS+=" -ffile-prefix-map=${PWD}=." ;;
*linux*) HOST_CFLAGS+=" -ffile-prefix-map=${PWD}=. -fPIC" ;;
*mingw*) HOST_CFLAGS+=" -fno-ident" ;;
esac

Expand Down

0 comments on commit 4021ad4

Please sign in to comment.