HomeFreeBSD

Always check -Wno-unused-but-set-variable gcc support

Description

Always check -Wno-unused-but-set-variable gcc support

The previous commit 8a7e1ceefa430988c8f888ca708ab307333b4464 wasn't
quite right. This check applies to both the user and kernel space
build and as such we must make sure it runs regardless of what
the --with-config option is set too.

For example, if --with-config=kernel then the autoconf test does
not run and we generate build warnings when compiling the kernel
packages.

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Jun 14 2011, 10:09 PM
Parents
rG8a7e1ceefa43: Check for -Wno-unused-but-set-variable gcc support
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG2e08aedba456: Always check -Wno-unused-but-set-variable gcc support (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Jun 14 2011, 11:40 PM