зеркало из https://github.com/github/ruby.git
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:
Родитель
e205cd80d2
Коммит
3f84ef9740
|
@ -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 */'; \
|
||||
} > $@
|
||||
|
|
|
@ -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}__"
|
||||
|
|
Загрузка…
Ссылка в новой задаче