Optimize Go programs and add IPv6 to mrmanager.

This commit is contained in:
Tom Alexander
2024-10-05 18:02:15 -04:00
parent 913d2e9f15
commit 9413f5dce8
5 changed files with 16 additions and 0 deletions

View File

@@ -1,5 +1,12 @@
CPUTYPE?=broadwell
# CPU optimizations for go
.if ${.CURDIR:M*/lang/go*}
OPTIONS_SET+=V2
OPTIONS_SET+=V3
.endif
# Disable static for subversion because /usr/local/lib/libutf8proc.a not found despite utf8proc being installed
#
# Disable static for netpbm because "ld: error: undefined symbol: libdeflate_free_compressor" which is "referenced by tif_zip.o:(ZIPVSetField) in archive /usr/local/lib/libtiff.a"

View File

@@ -7,6 +7,12 @@ CPUTYPE?=x86-64-v4
CPUTYPE?=znver4
.endif
# CPU optimizations for go
.if ${.CURDIR:M*/lang/go*}
OPTIONS_SET+=V2
OPTIONS_SET+=V3
OPTIONS_SET+=V4
.endif
OPTIONS_SET+=OPTIMIZED_CFLAGS

View File

@@ -59,6 +59,7 @@ net/rsync
net/tcpdump
net/wireguard-tools
net/wlvncc
ports-mgmt/modules2tuple
ports-mgmt/pkg
ports-mgmt/pkg-provides
ports-mgmt/portshaker