ports/audio/lame/patches/patch-configure

18 lines
525 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Disable adding -march=native on clang architectures. This allows use
of instructions that are present on the build machine but not on other
CPU types within the given architecture, so is not suitable for package
builds.
Index: configure
--- configure.orig
+++ configure
@@ -17563,7 +17563,7 @@ $as_echo "$as_me: WARNING: LAME doesn't know about you
esac
- if test "x${HAVE_CLANG}" = "xyes"; then
+ if false && test "x${HAVE_CLANG}" = "xyes"; then
case "${CLANG_VERSION}" in
3.89*|45.*)
OPTIMIZATION="-Ofast"