From d807fa8967b1ef075f0188520e59e98bd667156e58bd794c9b8a013c43b01fd5 Mon Sep 17 00:00:00 2001 From: Simon Lees Date: Tue, 4 Nov 2025 22:24:02 +1030 Subject: [PATCH] Still trying to fix the -msse2 issue on some build --- erlang27.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/erlang27.spec b/erlang27.spec index 1bebce9..d6c3151 100644 --- a/erlang27.spec +++ b/erlang27.spec @@ -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" -- 2.51.1