Skip to content

Commit

Permalink
Merge pull request #38 from hermit-os/flags
Browse files Browse the repository at this point in the history
fix: rework `FLAGS_FOR_TARGET`
  • Loading branch information
mkroening authored Aug 13, 2024
2 parents ca94366 + c8e51e9 commit 1063d8e
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 @@ -16,11 +16,11 @@ NJOBS=-j"$(nproc)"
PATH=$PATH:$PREFIX/bin
export CFLAGS="-w"
export CXXFLAGS="-w"
export CFLAGS_FOR_TARGET="-m64 -O3 -fPIE"
export GOFLAGS_FOR_TARGET="-m64 -O3 -fPIE"
export FCFLAGS_FOR_TARGET="-m64 -O3 -fPIE"
export FFLAGS_FOR_TARGET="-m64 -O3 -fPIE"
export CXXFLAGS_FOR_TARGET="-m64 -O3 -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 1063d8e

Please sign in to comment.