[Bug 262977] Preprocessor error in sys/contrib/zlib/crc32.c on arm64
Date: Fri, 01 Apr 2022 13:04:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262977 Ed Maste <emaste@freebsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |delphij@FreeBSD.org, | |emaste@freebsd.org --- Comment #1 from Ed Maste <emaste@freebsd.org> --- Can you give this (untested) patch a try: diff --git a/sys/conf/files b/sys/conf/files index 6639485509bc..335d240e0526 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -4073,7 +4073,8 @@ contrib/zlib/compress.c optional crypto | geom_uzip | \ mxge | ddb_ctf | gzio | zfs | zlib \ compile-with "${NORMAL_C} -Wno-cast-qual" contrib/zlib/crc32.c optional crypto | geom_uzip | \ - mxge | ddb_ctf | gzio | zfs | zlib + mxge | ddb_ctf | gzio | zfs | zlib \ + compile-with "${NORMAL_C} -Wno-undef" contrib/zlib/deflate.c optional crypto | geom_uzip | \ mxge | ddb_ctf | gzio | zfs | zlib \ compile-with "${NORMAL_C} -Wno-cast-qual" I'd like to submit a patch upstream to do this in a more elegant way than just turning off the warning but that will take more time. -- You are receiving this mail because: You are the assignee for the bug.