machine_setup/ansible/roles/poudriere/files/poudriere.d/13amd64-default-framework-make.conf
2023-05-29 08:38:31 -04:00

16 lines
608 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*}
CPUTYPE?=tigerlake
#CPUTYPE?=x86-64-v3
.endif
OPTIMIZED_CFLAGS=YES
BUILD_OPTIMIZED=YES
WITH_CPUFLAGS=YES
BUILD_STATIC=YES