Optimize Go programs and add IPv6 to mrmanager.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user