Revert "zstd: disable weak-symbol tracing hooks in the kernel"
This reverts commitde2ea5423cwhich is no longer needed after1dddb580f9. Tested by: mmel
This commit is contained in:
@@ -157,11 +157,9 @@ NORMAL_FWO= ${CC:N${CCACHE_BIN}} -c ${ASM_CFLAGS} ${WERROR} -o ${.TARGET} \
|
||||
NOSAN_C= ${NORMAL_C:N-fsanitize*:N-fno-sanitize*:N-fasan-shadow-offset*}
|
||||
|
||||
# for ZSTD in the kernel (include zstd/lib/freebsd before other CFLAGS)
|
||||
ZSTD_C= ${CC} -c -I$S/contrib/zstd/lib/freebsd ${CFLAGS} \
|
||||
ZSTD_C= ${CC} -c -DZSTD_HEAPMODE=1 -I$S/contrib/zstd/lib/freebsd ${CFLAGS} \
|
||||
-I$S/contrib/zstd/lib -I$S/contrib/zstd/lib/common ${WERROR} \
|
||||
-Wno-missing-prototypes -U__BMI__ \
|
||||
-DZSTD_HEAPMODE=1 -DZSTD_NO_INTRINSICS -DZSTD_NO_TRACE \
|
||||
${.IMPSRC}
|
||||
-Wno-missing-prototypes -U__BMI__ -DZSTD_NO_INTRINSICS ${.IMPSRC}
|
||||
# https://github.com/facebook/zstd/commit/812e8f2a [zstd 1.4.1]
|
||||
# "Note that [GCC] autovectorization still does not do a good job on the
|
||||
# optimized version, so it's turned off via attribute and flag. I found
|
||||
|
||||
Reference in New Issue
Block a user