Skip to content

Commit

Permalink
fix: add -pie to FLAGS
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Kröning <[email protected]>
  • Loading branch information
mkroening committed Aug 11, 2024
1 parent a142f65 commit c95833d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions toolchain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ NJOBS=-j"$(nproc)"
PATH=$PATH:$PREFIX/bin
export CFLAGS="-w"
export CXXFLAGS="-w"
export CFLAGS_FOR_TARGET="-fPIE"
export GOFLAGS_FOR_TARGET="-fPIE"
export FCFLAGS_FOR_TARGET="-fPIE"
export FFLAGS_FOR_TARGET="-fPIE"
export CXXFLAGS_FOR_TARGET="-fPIE"
export CFLAGS_FOR_TARGET="-fPIE -pie"
export GOFLAGS_FOR_TARGET="-fPIE -pie"
export FCFLAGS_FOR_TARGET="-fPIE -pie"
export FFLAGS_FOR_TARGET="-fPIE -pie"
export CXXFLAGS_FOR_TARGET="-fPIE -pie"

echo "Build bootstrap toolchain for $TARGET with $NJOBS jobs for $PREFIX"

Expand Down

0 comments on commit c95833d

Please sign in to comment.