diff options
author | Jon TURNEY <jon.turney@dronecode.org.uk> | 2009-06-08 14:17:06 +0100 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2009-06-09 06:33:45 -0700 |
commit | b885bb59ec23bb338c8df68e40c6ef2c2a9325cc (patch) | |
tree | db1ef1d25648552c8584bed681969354aec8e63b /configure.ac | |
parent | 21a957428aa69b03f585378dc6e70ad9f5c513c6 (diff) |
Use correct CWARNFLAGS when cross compiling
Rather than checking the version of some random gcc which happens to be in
the path to determine which warning flags are supported, we should check the
gcc we are going to use for the build
For example, when cross-compiling, if the host gcc is >= 3.4 but the
cross-compiler gcc is not, this will cause unsupported warning flags to be
used
This seems to work, but I don't know enough autofoolery to be sure this is
right...
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions