Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Nov 2012 23:06:33 +0400
From:      awarecons <awarecons@gmail.com>
To:        ports@freebsd.org
Subject:   sysutils/grub2 compile errors
Message-ID:  <CACGq7x1yvm0Pof214UHdyUwxmH7e_YizPogqaen1UE55hjBTRw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACGq7x1yvm0Pof214UHdyUwxmH7e_YizPogqaen1UE55hjBTRw>