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 @@ -48,11 +48,12 @@ case "${AUDITWHEEL_POLICY}-${AUDITWHEEL_ARCH}" in
4848 manylinux* -* ) TARGET_TRIPLE=${AUDITWHEEL_ARCH} -unknown-linux-gnu;;
4949 musllinux* -* ) TARGET_TRIPLE=${AUDITWHEEL_ARCH} -alpine-linux-musl;;
5050esac
51- case " ${AUDITWHEEL_ARCH} " in
52- riscv64) M_ARCH=" -march=rv64gc" ;;
53- x86_64) M_ARCH=" -march=x86-64" ;;
54- armv7l) M_ARCH=" -march=armv7a" ;;
55- i686) M_ARCH=" -march=i686" ;;
51+ case " ${AUDITWHEEL_POLICY} -${AUDITWHEEL_ARCH} " in
52+ * -riscv64) M_ARCH=" -march=rv64gc" ;;
53+ * -x86_64) M_ARCH=" -march=x86-64" ;;
54+ * -armv7l) M_ARCH=" -march=armv7a" ;;
55+ manylinux* -i686) M_ARCH=" -march=k8 -mtune=generic" ;; # same as gcc manylinux2014 / manylinux_2_28
56+ musllinux* -i686) M_ARCH=" -march=pentium-m -mtune=generic" ;; # same as gcc musllinux_1_2
5657esac
5758GCC_TRIPLE=$( gcc -dumpmachine)
5859
You can’t perform that action at this time.
0 commit comments