Skip to content

Commit

Permalink
Explicitly use the GNU binutils ld.bfd linker
Browse files Browse the repository at this point in the history
  • Loading branch information
fwyzard committed Mar 16, 2023
1 parent 770e0f9 commit b6c4a26
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scram-tools.file/tools/gcc/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ GCC_CXXFLAGS="$GCC_CXXFLAGS -fvisibility-inlines-hidden"
GCC_CXXFLAGS="$GCC_CXXFLAGS -fno-math-errno --param vect-max-version-for-alias-checks=50"
GCC_CXXFLAGS="$GCC_CXXFLAGS -Xassembler --compress-debug-sections"

# Explicitly use the GNU binutils ld.bfd linker
GCC_CXXFLAGS="$GCC_CXXFLAGS -fuse-ld=bfd"

case $(uname -m) in
aarch64 ) GCC_CXXFLAGS="$GCC_CXXFLAGS -fsigned-char -fsigned-bitfields" ;;
ppc64le ) GCC_CXXFLAGS="$GCC_CXXFLAGS -fsigned-char -fsigned-bitfields" ;;
Expand Down

0 comments on commit b6c4a26

Please sign in to comment.