Botan: forward QMAKE_CXX_FLAGS from mkspec to configure

Change-Id: Ibc3922a1aa6f09cca0fd7b4360cf283363cda87d
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Jürgen Hunold
2018-08-20 13:51:46 +02:00
parent 601eebd832
commit d2146644a6

View File

@@ -27,7 +27,7 @@ mingw {
BOTAN_OS_SWITCH = "--os=mingw"
OTHER_FLAGS += --without-stack-protector
}
BOTAN_CXX_FLAGS =
BOTAN_CXX_FLAGS = $$QMAKE_CXXFLAGS
msvc: BOTAN_CXX_FLAGS += /wd4127 /wd4244 /wd4250 /wd4267 /wd4334 /wd4702 /wd4996 \
/D_ENABLE_EXTENDED_ALIGNED_STORAGE
else: BOTAN_CXX_FLAGS += -Wno-unused-parameter