forked from pool/erlang27
Still trying to fix the -msse2 issue on some build #2
@@ -312,6 +312,9 @@ sed -i 's|WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs`|WX_LIBS="`$WX_CONFIG_WITH_ARGS -
|
||||
%build
|
||||
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
||||
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||
%ifarch %x86_64
|
||||
export CFLAGS="$CFLAGS -msse2"
|
||||
%endif
|
||||
export CXXFLAGS=$CFLAGS
|
||||
export LANG="en_US.UTF-8"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user