mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
configure: try -fdeclspec
option by linking [Bug #17787]
A workaround for `-f` option of AIX xlc compiler which works only on linking.
This commit is contained in:
parent
c569c298fe
commit
8b7cab70eb
Notes:
git
2021-04-10 16:05:23 +09:00
1 changed files with 1 additions and 1 deletions
|
@ -583,7 +583,7 @@ AS_IF([test x"${RPATHFLAG}" = x], [
|
||||||
rpathflag=`echo "$RPATHFLAG" | sed 's/%.*//'`
|
rpathflag=`echo "$RPATHFLAG" | sed 's/%.*//'`
|
||||||
])
|
])
|
||||||
|
|
||||||
RUBY_TRY_CFLAGS(-fdeclspec, [fdeclspec=yes], [fdeclspec=no])
|
RUBY_TRY_LDFLAGS(-fdeclspec, [fdeclspec=yes], [fdeclspec=no])
|
||||||
AS_IF([test "$fdeclspec" = yes], [
|
AS_IF([test "$fdeclspec" = yes], [
|
||||||
RUBY_APPEND_OPTIONS(CFLAGS, -fdeclspec)
|
RUBY_APPEND_OPTIONS(CFLAGS, -fdeclspec)
|
||||||
RUBY_APPEND_OPTIONS(cflags, -fdeclspec)
|
RUBY_APPEND_OPTIONS(cflags, -fdeclspec)
|
||||||
|
|
Loading…
Reference in a new issue