summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMarc-André Lureau2016-08-05 10:23:46 +0200
committerPaolo Bonzini2016-08-09 22:57:36 +0200
commita9c87304b76d1d61687d585516abb4c6e0ae809e (patch)
tree8f905531a471b18efe4eafb9c7437a47dc669220 /scripts
parentlinuxboot_dma: avoid guest ABI breakage on gcc vs. clang compilation (diff)
downloadqemu-a9c87304b76d1d61687d585516abb4c6e0ae809e.tar.gz
qemu-a9c87304b76d1d61687d585516abb4c6e0ae809e.tar.xz
qemu-a9c87304b76d1d61687d585516abb4c6e0ae809e.zip
build-sys: fix building with make CFLAGS=.. argument
When calling make with a CFLAGS=.. argument, the -g/-O filter is not applied, which may result with build failure with ASAN for example. It could be solved with an 'override' directive on CFLAGS, but that would actually prevent setting different CFLAGS manually. Instead, filter the CFLAGS argument from the top-level Makefile (so you could still call make with a different CFLAGS argument on a rom/Makefile manually) Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20160805082421.21994-2-marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions