summaryrefslogtreecommitdiff
path: root/rules.mak
diff options
context:
space:
mode:
authorBruno Dominguez <bru.dominguez@gmail.com>2017-06-06 14:07:47 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2017-06-07 15:29:46 +0100
commit11cde1c81093a33c46c7a4039bf750bb61551087 (patch)
treecf6af6c7507d4e783c12d060c4e63fb241f0025a /rules.mak
parent528f449f590829b53ea01ed91817a695b540421d (diff)
downloadqemu-11cde1c81093a33c46c7a4039bf750bb61551087.tar.gz
configure: split c and cxx extra flags
There was no possibility to add specific cxx flags using the configure file. So A new entrance has been created to support it. Duplication of information in configure and rules.mak. Taking QEMU_CFLAGS and add them to QEMU_CXXFLAGS, now the value of QEMU_CXXFLAGS is stored in config-host.mak, so there is no need for it. The makefile for libvixl was adding flags for QEMU_CXXFLAGS in QEMU_CFLAGS because of the addition in rules.mak. That was removed, so adding them where it should be. Signed-off-by: Bruno Dominguez <bru.dominguez@gmail.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Message-id: 1496754467-20893-1-git-send-email-bru.dominguez@gmail.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'rules.mak')
-rw-r--r--rules.mak3
1 files changed, 0 insertions, 3 deletions
diff --git a/rules.mak b/rules.mak
index 1c0eabb367..2a2fb72e85 100644
--- a/rules.mak
+++ b/rules.mak
@@ -20,9 +20,6 @@ MAKEFLAGS += -rR
%.mak:
clean-target:
-# Flags for C++ compilation
-QEMU_CXXFLAGS = -D__STDC_LIMIT_MACROS $(filter-out -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wold-style-declaration -Wold-style-definition -Wredundant-decls, $(QEMU_CFLAGS))
-
# Flags for dependency generation
QEMU_DGFLAGS += -MMD -MP -MT $@ -MF $(@D)/$(*F).d