diff options
author | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-08-12 15:13:06 +0000 |
---|---|---|
committer | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-08-12 15:13:06 +0000 |
commit | 422f4e3e1b15560455c60d6f8a973022b8787513 (patch) | |
tree | 3e323a8dc7521350f5c45a0f9c3f43f62474f342 /mjit_worker.c | |
parent | a7775c4e072cea9c5c2fe50714a23add63277b85 (diff) |
configure.ac: MJIT_DLDFLAGS_NOCOMPRESS
is configured now, to force -Wl,--compress-debug-sections=no
for MJIT only when the option is used in MJIT_DLDFLAGS.
This needs to be done in configure.ac to resolve build failure like
https://travis-ci.org/ruby/ruby/builds/415120662.
Makefile.in: define it in mjit_config.h
mjit_worker.c: replace hard-coded flag to MJIT_DLDFLAGS_NOCOMPRESS
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'mjit_worker.c')
-rw-r--r-- | mjit_worker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mjit_worker.c b/mjit_worker.c index 6a550e741a..5fa73ce54b 100644 --- a/mjit_worker.c +++ b/mjit_worker.c @@ -266,7 +266,7 @@ static const char *const CC_LDSHARED_ARGS[] = {MJIT_LDSHARED GCC_PIC_FLAGS NULL} static const char *const CC_DLDFLAGS_ARGS[] = { MJIT_DLDFLAGS #ifdef USE_ELF /* force disable compression to get line number on addr2line.c */ - "-Wl,--compress-debug-sections=none", + MJIT_DLDFLAGS_NOCOMPRESS #endif #if defined __GNUC__ && !defined __clang__ "-nostartfiles", |