diff options
author | Alex Bennée | 2021-07-09 16:29:58 +0200 |
---|---|---|
committer | Alex Bennée | 2021-07-14 16:54:13 +0200 |
commit | 7a1f6e5975dabee12c0b7b160630c59c6fcff6c3 (patch) | |
tree | 109f012f8ca9d66a8f1ea77c03efa1c894cc33c9 /contrib/plugins | |
parent | tcg/plugins: enable by default for most TCG builds (diff) | |
download | qemu-7a1f6e5975dabee12c0b7b160630c59c6fcff6c3.tar.gz qemu-7a1f6e5975dabee12c0b7b160630c59c6fcff6c3.tar.xz qemu-7a1f6e5975dabee12c0b7b160630c59c6fcff6c3.zip |
contrib/plugins: enable -Wall for building plugins
Lets spot the obvious errors.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20210709143005.1554-34-alex.bennee@linaro.org>
Diffstat (limited to 'contrib/plugins')
-rw-r--r-- | contrib/plugins/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/plugins/Makefile b/contrib/plugins/Makefile index b9d7935e5e..3431bc1ce9 100644 --- a/contrib/plugins/Makefile +++ b/contrib/plugins/Makefile @@ -24,7 +24,7 @@ SONAMES := $(addsuffix .so,$(addprefix lib,$(NAMES))) # The main QEMU uses Glib extensively so it's perfectly fine to use it # in plugins (which many example do). CFLAGS = $(GLIB_CFLAGS) -CFLAGS += -fPIC +CFLAGS += -fPIC -Wall $(filter -W%, $(QEMU_CFLAGS)) CFLAGS += $(if $(findstring no-psabi,$(QEMU_CFLAGS)),-Wpsabi) CFLAGS += -I$(SRC_PATH)/include/qemu |