configure.in: Properly detect platform for SSE2 instructions.
* configure.in: add qouting brackets and append wildcard for the rest after target_cpu, to properly detect platform for SSE2 instructions. [ruby-core:60576] [Bug #8358] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
cd476cd86b
commit
85b1671b42
@ -1,3 +1,9 @@
|
|||||||
|
Sat Feb 8 23:40:35 2014 Vit Ondruch <vondruch@redhat.com>
|
||||||
|
|
||||||
|
* configure.in: add qouting brackets and append wildcard for the
|
||||||
|
rest after target_cpu, to properly detect platform for SSE2
|
||||||
|
instructions. [ruby-core:60576] [Bug #8358]
|
||||||
|
|
||||||
Sat Feb 8 21:44:07 2014 Masaki Matsushita <glass.saga@gmail.com>
|
Sat Feb 8 21:44:07 2014 Masaki Matsushita <glass.saga@gmail.com>
|
||||||
|
|
||||||
* configure.in: check qsort_r(3) and whether it is GNU version.
|
* configure.in: check qsort_r(3) and whether it is GNU version.
|
||||||
|
@ -864,7 +864,7 @@ if test "$GCC" = yes; then
|
|||||||
[*-darwin*], [
|
[*-darwin*], [
|
||||||
# doesn't seem necessary on Mac OS X
|
# doesn't seem necessary on Mac OS X
|
||||||
],
|
],
|
||||||
[i[4-6]86], [
|
[[i[4-6]86*]], [
|
||||||
RUBY_TRY_CFLAGS(-msse2 -mfpmath=sse, [
|
RUBY_TRY_CFLAGS(-msse2 -mfpmath=sse, [
|
||||||
RUBY_APPEND_OPTION(XCFLAGS, -msse2 -mfpmath=sse)
|
RUBY_APPEND_OPTION(XCFLAGS, -msse2 -mfpmath=sse)
|
||||||
RUBY_TRY_CFLAGS(-mstackrealign, [RUBY_APPEND_OPTION(XCFLAGS, -mstackrealign)])
|
RUBY_TRY_CFLAGS(-mstackrealign, [RUBY_APPEND_OPTION(XCFLAGS, -mstackrealign)])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user