Skip to content

Commit

Permalink
#1922: add CMAKE_*_LINKER_FLAGS_INIT to -fuse-ld=gold to fix docker v…
Browse files Browse the repository at this point in the history
…1 build
  • Loading branch information
n-morales authored and lhog committed Feb 5, 2025
1 parent 3942913 commit 366943c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker-build/scripts/02_configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ if [ "${PLATFORM}" == "linux-64" ]; then
-DLIBDIR:PATH=./
-DDATADIR:PATH=./
-DDOCDIR:PATH=doc
-DCMAKE_EXE_LINKER_FLAGS_INIT="-fuse-ld=gold"
-DCMAKE_MODULE_LINKER_FLAGS_INIT="-fuse-ld=gold"
-DCMAKE_SHARED_LINKER_FLAGS_INIT="-fuse-ld=gold"
)
export PKG_CONFIG_LIBDIR=${LIBS_DIR}/lib/pkgconfig
export PKG_CONFIG="pkg-config --define-prefix --static"
Expand Down

0 comments on commit 366943c

Please sign in to comment.