summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nodejs.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/nodejs.spec b/nodejs.spec
index 9c29fce..657deb0 100644
--- a/nodejs.spec
+++ b/nodejs.spec
@@ -219,7 +219,7 @@ find . -type f -exec sed -i "s~python -c~python3 -c~" {} \;
export CC='%{__cc}'
export CXX='%{__cxx}'
-%ifarch amd64
+%ifarch x86_64
export CFLAGS="%{optflags} -mno-avx2"
export CXXFLAGS="%{optflags} -mno-avx2"
%endif