mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 19:15:54 +00:00
changed linker for gcc
Signed-off-by: Pratik Mankawde <pmankawde@ripple.com>
This commit is contained in:
7
.github/scripts/strategy-matrix/generate.py
vendored
7
.github/scripts/strategy-matrix/generate.py
vendored
@@ -176,8 +176,11 @@ def generate_strategy_matrix(all: bool, config: Config) -> list:
|
||||
# Somc functions are too complex and huge for gcc compiler to handle variable tracking.
|
||||
# Hence disable it.
|
||||
cxx_flags += " -fno-var-tracking-assignments"
|
||||
# exe_linker_flags += '-static-libubsan -static-libasan -static-libtsan'
|
||||
# shared_linker_flags += '-static-libubsan -static-libasan -static-libtsan'
|
||||
# Disable mold linker - it's too strict about relocations with GCC runtime libs
|
||||
# Use gold or default linker instead
|
||||
cmake_args += ' -Duse_mold=OFF'
|
||||
exe_linker_flags += ' -fuse-ld=gold'#-static-libubsan -static-libasan -static-libtsan'
|
||||
shared_linker_flags += ' -fuse-ld=gold'#-static-libubsan -static-libasan -static-libtsan'
|
||||
|
||||
if architecture['platform'] == 'linux/amd64':
|
||||
# Add -mcmodel=medium and -fPIC to both compiler AND linker flags
|
||||
|
||||
Reference in New Issue
Block a user