summaryrefslogtreecommitdiff
path: root/nodejs.spec
diff options
context:
space:
mode:
Diffstat (limited to 'nodejs.spec')
-rw-r--r--nodejs.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/nodejs.spec b/nodejs.spec
index a797ca0..ac80c4f 100644
--- a/nodejs.spec
+++ b/nodejs.spec
@@ -230,8 +230,8 @@ export CXXFLAGS='%{optflags} \
-DZLIB_CONST \
-fno-delete-null-pointer-checks'
%ifarch x86_64
-export CFLAGS="%{CFLAGS} -mno-avx2"
-export CXXFLAGS="%{CXXFLAGS} -mno-avx2"
+export CFLAGS="${CFLAGS} -mno-avx2"
+export CXXFLAGS="${CXXFLAGS} -mno-avx2"
%endif
export CFLAGS="$(echo ${CFLAGS} | tr '\n\\' ' ')"