mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 23:33:24 +00:00
Use compilation flags.
This makes qmake aware of CFLAGS, CXXFLAGS, LDFLAGS, CPPFLAGS. This is helpful to easily add flags to the compilation (such as hardening flags). Signed-off-by: Salvo 'LtWorf' Tomaselli <tiposchi@tiscali.it> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
2a1a640227
commit
1564a32546
1 changed files with 5 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue