File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ if [ "${AUDITWHEEL_ARCH}" != "x86_64" ]; then
77 exit 0
88fi
99
10- if ! echo | gcc -S -x c -v - 2>&1 | grep ' march=x86-64-v' > /dev/null; then
10+ if ! echo | gcc -S -x c -o /dev/null - v - 2>&1 | grep ' march=x86-64-v' > /dev/null; then
1111 exit 0
1212fi
1313
@@ -91,19 +91,19 @@ for EXE in "${DEVTOOLSET_ROOTPATH}"/usr/bin/*; do
9191 if diff -q " ${EXE} " " ${DEVTOOLSET_ROOTPATH} /usr/bin/gcc" ; then
9292 LINK_NAME=/usr/local/bin/$( basename " ${EXE} " )
9393 ln -s manylinux-gcc-wrapper " ${LINK_NAME} "
94- if echo | " ${LINK_NAME} " -S -x c -v - 2>&1 | grep ' march=x86-64-v' > /dev/null; then
94+ if echo | " ${LINK_NAME} " -S -x c -o /dev/null - v - 2>&1 | grep ' march=x86-64-v' > /dev/null; then
9595 exit 1
9696 fi
9797 elif diff -q " ${EXE} " " ${DEVTOOLSET_ROOTPATH} /usr/bin/g++" ; then
9898 LINK_NAME=/usr/local/bin/$( basename " ${EXE} " )
9999 ln -s manylinux-gcc-wrapper " ${LINK_NAME} "
100- if echo | " ${LINK_NAME} " -S -x c++ -v - 2>&1 | grep ' march=x86-64-v' > /dev/null; then
100+ if echo | " ${LINK_NAME} " -S -x c++ -o /dev/null - v - 2>&1 | grep ' march=x86-64-v' > /dev/null; then
101101 exit 1
102102 fi
103103 elif diff -q " ${EXE} " " ${DEVTOOLSET_ROOTPATH} /usr/bin/gfortran" ; then
104104 LINK_NAME=/usr/local/bin/$( basename " ${EXE} " )
105105 ln -s manylinux-gcc-wrapper " ${LINK_NAME} "
106- if echo | " ${LINK_NAME} " -S -x f77 -v - 2>&1 | grep ' march=x86-64-v' > /dev/null; then
106+ if echo | " ${LINK_NAME} " -S -x f77 -o /dev/null - v - 2>&1 | grep ' march=x86-64-v' > /dev/null; then
107107 exit 1
108108 fi
109109 fi
You can’t perform that action at this time.
0 commit comments