]> xenbits.xensource.com Git - libvirt.git/commit
Fix build for older gcc
authorJim Fehlig <jfehlig@novell.com>
Wed, 6 Apr 2011 21:05:45 +0000 (15:05 -0600)
committerJim Fehlig <jfehlig@novell.com>
Wed, 6 Apr 2011 21:05:45 +0000 (15:05 -0600)
commit3df6fd706cd4d16b70678de3e78a7ab7a5025047
tree3425e4d8182132917a0f099a2fd1e8a8e5b81359
parent2879582847303297965e0c441edbe7daca07872c
Fix build for older gcc

With gcc 4.3.4 I'm seeing the following warning failure

cc1: warnings being treated as errors
cc1: error: -funit-at-a-time is required for inlining of functions
that are only called once [-Wdisabled-optimization]

Add -funit-at-a-time to WARN_CFLAGS.
m4/virt-compile-warnings.m4