Add a workaround for framework 13 firmware bug causing 100% usage on a single core.
ref: https://community.frame.work/t/tracking-amd-small-group-of-kworkers-keeping-cpu-0-busy-after-suspend-resume-cycle-s/45002
This commit is contained in:
@@ -7,6 +7,12 @@ CPUTYPE?=x86-64-v4
|
||||
CPUTYPE?=znver4
|
||||
.endif
|
||||
|
||||
|
||||
|
||||
OPTIONS_SET+=OPTIMIZED_CFLAGS
|
||||
# qemu uses STATIC_LINK instead of the more standard flag of STATIC
|
||||
OPTIONS_SET+=STATIC_LINK
|
||||
|
||||
# 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"
|
||||
@@ -29,6 +35,9 @@ OPTIONS_UNSET+=PULSEAUDIO SNDIO
|
||||
OPTIONS_UNSET+=JACK
|
||||
.endif
|
||||
|
||||
OPTIONS_SET+=OPTIMIZED_CFLAGS
|
||||
# qemu uses STATIC_LINK instead of the more standard flag of STATIC
|
||||
OPTIONS_SET+=STATIC_LINK
|
||||
|
||||
|
||||
# Work-around for bug https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277021
|
||||
.if ${.CURDIR:M*/www/firefox}
|
||||
LDFLAGS+= -lm
|
||||
.endif
|
||||
|
||||
Reference in New Issue
Block a user