diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-25 09:10:41 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-25 09:10:41 +0000 |
commit | c6fd7663d25874fed13799a4111e9d89f12302bf (patch) | |
tree | 4eaac4a76fc2ef1815ba89f863a2ea91dc63947b | |
parent | aa6ee5ee8b86b4545989968138ded92bdc80f7ff (diff) |
automatic import of nodejs
-rw-r--r-- | nodejs.spec | 2 |
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 |