summaryrefslogtreecommitdiffstats
path: root/subsurface.pro
diff options
context:
space:
mode:
Diffstat (limited to 'subsurface.pro')
-rw-r--r--subsurface.pro5
1 files changed, 5 insertions, 0 deletions
diff --git a/subsurface.pro b/subsurface.pro
index 06186897a..2c5393e36 100644
--- a/subsurface.pro
+++ b/subsurface.pro
@@ -352,3 +352,8 @@ include(subsurface-install.pri)
# to build debuggable binaries on Windows, you need something like this
#QMAKE_CFLAGS_RELEASE=$$QMAKE_CFLAGS_DEBUG -O0 -g
#QMAKE_CXXFLAGS_RELEASE=$$QMAKE_CXXFLAGS_DEBUG -O0 -g
+
+QMAKE_CXXFLAGS += $$(CXXFLAGS)
+QMAKE_CFLAGS += $$(CFLAGS)
+QMAKE_LFLAGS += $$(LDFLAGS)
+QMAKE_CPPFLAGS += $$(CPPFLAGS)