SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,17 @@
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"