mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 19:06:28 -04:00
Replace CPU-specific optimization (-march=native) with -O3
- Bump PORTREVISION for package change PR: 245032 Submitted by: dch
This commit is contained in:
parent
e90a015330
commit
574db340c9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=530181
2 changed files with 17 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= kyototycoon
|
||||
PORTVERSION= 0.9.56
|
||||
PORTREVISION= 5
|
||||
PORTREVISION= 6
|
||||
CATEGORIES= databases
|
||||
MASTER_SITES= https://fallabs.com/${PORTNAME}/pkg/ \
|
||||
LOCAL/sunpoet
|
||||
|
|
16
databases/kyototycoon/files/patch-configure
Normal file
16
databases/kyototycoon/files/patch-configure
Normal file
|
@ -0,0 +1,16 @@
|
|||
--- configure.orig 2020-03-19 09:12:04 UTC
|
||||
+++ configure
|
||||
@@ -3389,10 +3389,10 @@ fi
|
||||
if test "$enable_opt" != "no"
|
||||
then
|
||||
printf 'checking for CPU optimization availability... '
|
||||
- if printf 'main() {}' | $CC -xc -march=native -o config.tmp - >config.tmp 2>&1
|
||||
+ if printf 'main() {}' | $CC -xc -O3 -o config.tmp - >config.tmp 2>&1
|
||||
then
|
||||
- MYCFLAGS="-march=native $MYCFLAGS"
|
||||
- MYCXXFLAGS="-march=native $MYCXXFLAGS"
|
||||
+ MYCFLAGS="-O3 $MYCFLAGS"
|
||||
+ MYCXXFLAGS="-O3 $MYCXXFLAGS"
|
||||
printf 'yes\n'
|
||||
else
|
||||
printf 'no\n'
|
Loading…
Add table
Reference in a new issue