sysutils/grub2 compile errors

awarecons awarecons at gmail.com
Thu Nov 22 19:06:34 UTC 2012


Used gcc46. Output:
...
error: variable '...' set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors


Makefile should be appened with either
CONFIGURE_ARGS= --disable-werror
or
CFLAGS +=-Wno-error -Wno-unused-parameter
-Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-value

or both even.


More information about the freebsd-ports mailing list