diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-02-09 05:00:57 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-02-09 05:00:57 +0000 |
commit | 59c1d04daefaf19283e5ac4a01ace89b9ddebaff (patch) | |
tree | 220b359f1b5b8eacfd504f5cbc490456da71a9fb | |
parent | 5659a79453e601d66719ed4e88861136bae9a49c (diff) | |
download | ruby-59c1d04daefaf19283e5ac4a01ace89b9ddebaff.tar.gz |
* configure.in: Fix compilation error.
https://bugs.ruby-lang.org/issues/8358#note-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | configure.in | 7 |
2 files changed, 11 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Sun Feb 9 13:59:29 2014 Tanaka Akira <akr@fsij.org> + + * configure.in: Fix compilation error. + https://bugs.ruby-lang.org/issues/8358#note-16 + Sun Feb 9 05:20:24 2014 NARUSE, Yui <naruse@ruby-lang.org> * configure.in (rb_cv_gnu_qsort_r): use compile error "conflicting diff --git a/configure.in b/configure.in index 678fe18e01..6baa495bed 100644 --- a/configure.in +++ b/configure.in @@ -867,8 +867,13 @@ if test "$GCC" = yes; then [[i[4-6]86*]], [ RUBY_TRY_CFLAGS(-msse2 -mfpmath=sse, [ RUBY_APPEND_OPTION(XCFLAGS, -msse2 -mfpmath=sse) - RUBY_TRY_CFLAGS(-mstackrealign, [RUBY_APPEND_OPTION(XCFLAGS, -mstackrealign)]) ]) + AS_CASE(["$XCFLAGS"], + [[*-msse2*]], [ + RUBY_TRY_CFLAGS(-mstackrealign, [ + RUBY_APPEND_OPTION(XCFLAGS, -mstackrealign) + ]) + ]) ] ) fi |