summaryrefslogtreecommitdiffstats
path: root/app/app.pri
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2017-09-25 14:49:00 -0700
committerMatt Ranostay <matt.ranostay@konsulko.com>2017-09-25 15:04:41 -0700
commit51185e65ba57d8c6f3224cec598a68a20bb0a220 (patch)
tree2621a75db8e4c5083470f0fe6c28c21d286585a1 /app/app.pri
parent1a1ff962da92aff5a1d3e757710c725e03238458 (diff)
qmake: avoid linking to unused libraries
Add options to QMAKE_LFLAGS to avoid linking to unused libraries Bug-AGL: SPEC-907 Change-Id: If5dbc77cfc2bcc5471a4e6392f21c0fae7daef68 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'app/app.pri')
-rw-r--r--app/app.pri1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/app.pri b/app/app.pri
index 7ec39b1..df50dea 100644
--- a/app/app.pri
+++ b/app/app.pri
@@ -1,4 +1,5 @@
TEMPLATE = app
+QMAKE_LFLAGS += "-Wl,--hash-style=gnu -Wl,--as-needed"
load(configure)
qtCompileTest(libhomescreen)