File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -19,11 +19,12 @@ case "${BASE_POLICY}-${AUDITWHEEL_ARCH}" in
1919 manylinux-* ) TARGET_TRIPLE=${AUDITWHEEL_ARCH} -unknown-linux-gnu;;
2020 musllinux-* ) TARGET_TRIPLE=${AUDITWHEEL_ARCH} -alpine-linux-musl;;
2121esac
22- case " ${AUDITWHEEL_ARCH} " in
23- riscv64) M_ARCH=" -march=rv64gc" ;;
24- x86_64) M_ARCH=" -march=x86-64" ;;
25- armv7l) M_ARCH=" -march=armv7a" ;;
26- i686) M_ARCH=" -march=i686" ;;
22+ case " ${BASE_POLICY} -${AUDITWHEEL_ARCH} " in
23+ * -riscv64) M_ARCH=" -march=rv64gc" ;;
24+ * -x86_64) M_ARCH=" -march=x86-64" ;;
25+ * -armv7l) M_ARCH=" -march=armv7a" ;;
26+ manylinux-i686) M_ARCH=" -march=k8 -mtune=generic" ;; # same as gcc manylinux2014 / manylinux_2_28
27+ musllinux-i686) M_ARCH=" -march=pentium-m -mtune=generic" ;; # same as gcc musllinux_1_2
2728esac
2829GCC_TRIPLE=$( gcc -dumpmachine)
2930
You can’t perform that action at this time.
0 commit comments