diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-09-10 19:07:28 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-09-10 19:07:28 +0200 |
commit | 825645d901b8278cce9fd105bcd41d40aa5ce8b1 (patch) | |
tree | fefafc54c2a6529de24c28c87fb91ab3884cc3cb /build | |
parent | 5c1eea36736eca43b3bfbbc0175ce0716ecb92cd (diff) | |
download | uxp-825645d901b8278cce9fd105bcd41d40aa5ce8b1.tar.gz |
Issue mcp-graveyard/UXP#1226 - Explicitly enable sse2 on x86_64 also.
Although it's enabled by default in gcc (should be, anyway!), we're
being explicit here for 64-bit x86 platforms here also. This matches the
old behavior.
Diffstat (limited to 'build')
-rw-r--r-- | build/autoconf/compiler-opts.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/autoconf/compiler-opts.m4 b/build/autoconf/compiler-opts.m4 index 0848d78d9c..77c2e85b5e 100644 --- a/build/autoconf/compiler-opts.m4 +++ b/build/autoconf/compiler-opts.m4 @@ -179,7 +179,7 @@ if test "$GNU_CC"; then CFLAGS="$CFLAGS -fno-math-errno" CXXFLAGS="$CXXFLAGS -fno-exceptions -fno-math-errno" - if test "$CPU_ARCH" = x86; then + if test "$CPU_ARCH" = "x86" -o "$CPU_ARCH" = "x86_64"; then CFLAGS="$CFLAGS -msse2 -mfpmath=sse" CXXFLAGS="$CXXFLAGS -msse2 -mfpmath=sse" fi |