mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 11:05:54 +00:00
only set mcmodel=large for gcc
Signed-off-by: Pratik Mankawde <pmankawde@ripple.com>
This commit is contained in:
2
.github/scripts/strategy-matrix/generate.py
vendored
2
.github/scripts/strategy-matrix/generate.py
vendored
@@ -182,7 +182,7 @@ def generate_strategy_matrix(all: bool, config: Config) -> list:
|
||||
#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':
|
||||
if architecture['platform'] == 'linux/amd64' and os['compiler_name'] == 'gcc':
|
||||
# Add -mcmodel=large and -fPIC to both compiler AND linker flags
|
||||
# This is needed because sanitizers create very large binaries
|
||||
# -fPIC enables position independent code to avoid relocation range issues
|
||||
|
||||
Reference in New Issue
Block a user