diff options
author | Marc-André Lureau | 2016-09-25 22:57:48 +0200 |
---|---|---|
committer | Paolo Bonzini | 2016-09-27 11:57:29 +0200 |
commit | 4a0588996a5848ce9550188d0f60642636815059 (patch) | |
tree | 42c12f820f3612e638bd9696611f95916f6f3051 /configure | |
parent | build-sys: remove unused GLIB_CFLAGS (diff) | |
download | qemu-4a0588996a5848ce9550188d0f60642636815059.tar.gz qemu-4a0588996a5848ce9550188d0f60642636815059.tar.xz qemu-4a0588996a5848ce9550188d0f60642636815059.zip |
build-sys: put glib_cflags in QEMU_CFLAGS
This way, overriding CFLAGS on make command line keeps glib-cflags
and doesn't break the build.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20160925205748.6280-2-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2933,7 +2933,7 @@ for i in $glib_modules; do if $pkg_config --atleast-version=$glib_req_ver $i; then glib_cflags=$($pkg_config --cflags $i) glib_libs=$($pkg_config --libs $i) - CFLAGS="$glib_cflags $CFLAGS" + QEMU_CFLAGS="$glib_cflags $QEMU_CFLAGS" LIBS="$glib_libs $LIBS" libs_qga="$glib_libs $libs_qga" else |