Skip to content

Commit

Permalink
Merge pull request #8391 from fwyzard/IB/CMSSW_13_0_X/master_use_ld_bfd
Browse files Browse the repository at this point in the history
Explicitly use the GNU binutils ld.bfd linker [13.0.x]
  • Loading branch information
cmsbuild authored Mar 21, 2023
2 parents 74f64e5 + b6c4a26 commit 0520c9b
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 0520c9b

Please sign in to comment.