qt5-qtwebengine/qtwebengine-opensource-src-5.12.4-fix-extractcflag.patch
Jan Grulich 65c9f227b2 Rebase extractcflag patch
Not sure if it's needed, it seems to build anyway
2019-06-18 08:36:05 +02:00

12 lines
443 B
Diff

diff --git a/src/core/config/functions.pri b/src/core/config/functions.pri
index 8c11faa16..191d3d623 100644
--- a/src/core/config/functions.pri
+++ b/src/core/config/functions.pri
@@ -1,5 +1,5 @@
defineReplace(qtwebengine_extractCFlag) {
- CFLAGS = $$QMAKE_CC $$QMAKE_CFLAGS
+ CFLAGS = $$QMAKE_CC $$QMAKE_CFLAGS $$QMAKE_CFLAGS_RELEASE
OPTION = $$find(CFLAGS, $$1)
OPTION = $$split(OPTION, =)
PARAM = $$member(OPTION, 1)