18 lines
689 B
Plaintext
18 lines
689 B
Plaintext
# Disable CPUTYPE optimizations when compiling gcc48 because tigerlake is not included in gcc4.8
|
|
#
|
|
# Disable CPUTYPE optimizations when compiling ripgrep because the build is failing https://github.com/BurntSushi/ripgrep/issues/1721
|
|
#
|
|
# Disable CPUTYPE optimizations for firefox due to failing build.
|
|
#
|
|
# Example from bottom of /usr/share/examples/etc/make.conf
|
|
.if ${.CURDIR:N*/lang/gcc48*} && ${.CURDIR:N*/lang/gcc10*} && ${.CURDIR:N*/textproc/ripgrep*} && ${.CURDIR:N*/www/firefox*}
|
|
# Disabling tigerlake optimizations because qemu's TCG does not support avx512
|
|
#
|
|
#CPUTYPE?=tigerlake
|
|
CPUTYPE?=x86-64-v3
|
|
.endif
|
|
OPTIMIZED_CFLAGS=YES
|
|
BUILD_OPTIMIZED=YES
|
|
WITH_CPUFLAGS=YES
|
|
BUILD_STATIC=YES
|