ports/audio/lame/patches/patch-configure

17 lines
525 B
Text

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"