diff options
Diffstat (limited to 'qmake/compiler.pri')
-rw-r--r-- | qmake/compiler.pri | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/qmake/compiler.pri b/qmake/compiler.pri index 4a1b25d19..7151da491 100644 --- a/qmake/compiler.pri +++ b/qmake/compiler.pri @@ -281,6 +281,13 @@ unix:!macx { } } + CONFIG(dpkg-buildflags) { + QMAKE_CFLAGS *= $$system(dpkg-buildflags --get CFLAGS) + QMAKE_CXXFLAGS *= $$system(dpkg-buildflags --get CXXFLAGS) + QMAKE_CPPFLAGS *= $$system(dpkg-buildflags --get CPPFLAGS) + QMAKE_LFLAGS *= $$system(dpkg-buildflags --get LDFLAGS) + } + CONFIG(debug, debug|release) { QMAKE_CFLAGS *= -fstack-protector -fPIE QMAKE_CXXFLAGS *= -fstack-protector -fPIE |