You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
655 B
19 lines
655 B
6 years ago
|
--- galera-3-25.3.12/galerautils/src/SConscript 2015-08-27 09:32:41.000000000 +0200
|
||
|
+++ galera-3-25.3.12/galerautils/src/SConscript 2016-02-22 20:42:30.814045399 +0100
|
||
|
@@ -1,4 +1,4 @@
|
||
|
-Import('env', 'x86', 'sysname')
|
||
|
+Import('env', 'x86', 'sysname', 'machine')
|
||
|
|
||
|
libgalerautils_env = env.Clone()
|
||
|
|
||
|
@@ -40,7 +40,8 @@
|
||
|
crc32c_objs = crc32c_env.SharedObject(crc32c_sources)
|
||
|
|
||
|
if x86:
|
||
|
- crc32c_env.Append(CFLAGS = ' -msse4.2')
|
||
|
+ if machine != 'ppc64' and machine != 'ppc64le':
|
||
|
+ crc32c_env.Append(CFLAGS = ' -msse4.2')
|
||
|
if sysname == 'sunos':
|
||
|
# Ideally we want to simply strip SSE4.2 flag from the resulting
|
||
|
# crc32.pic.o
|