1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

fix for Solaris sh

* Makefile.in (mjit_config.h): removed unnecessary assignment.

* tool/mjit_archflag.sh (define_arch_flags): need to quote on
  Solaris.  [ruby-dev:50669] [Bug #15319]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2018-11-19 13:43:44 +00:00
parent e205cd80d2
commit 3f84ef9740
2 changed files with 2 additions and 2 deletions

View file

@ -601,7 +601,7 @@ mjit_config.h:
quote "MJIT_DLDFLAGS MJIT_ARCHFLAG" $(MJIT_DLDFLAGS); \
quote "MJIT_LIBS " $(LIBRUBYARG_SHARED); \
quote 'PRELOADENV "@PRELOADENV@"'; \
indent=$${archs+ } define_arch_flags; \
define_arch_flags; \
echo; \
echo '#endif /* RUBY_MJIT_CONFIG_H */'; \
} > $@

View file

@ -29,7 +29,7 @@ parse_arch_flags() {
}
define_arch_flags() {
local indent=${archs:+ }
local indent=${archs:+' '}
${archs:+echo} ${archs:+'#if 0'}
for arch in $archs; do
echo "#elif defined __${arch}__"