summaryrefslogtreecommitdiff
path: root/platform/qt
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-04-29 09:57:21 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-04-29 09:57:21 -0700
commitc1ad3214858f6e8a852b2346ad69947b26e43172 (patch)
treed5fc6a4e05d3c20d2c0d0105939951faa8d3c761 /platform/qt
parentc86f558e9d608ac19ca5b26ea8f72e2dc43c07c0 (diff)
downloadqtlocation-mapboxgl-c1ad3214858f6e8a852b2346ad69947b26e43172.tar.gz
[linux] Build with GCC 5 (#4901)
* [linux] Build with GCC 5 * [build] -fabi-version=0 is the default for GCC 5
Diffstat (limited to 'platform/qt')
-rw-r--r--platform/qt/platform.gyp8
1 files changed, 8 insertions, 0 deletions
diff --git a/platform/qt/platform.gyp b/platform/qt/platform.gyp
index 78b86df88a..a945615692 100644
--- a/platform/qt/platform.gyp
+++ b/platform/qt/platform.gyp
@@ -115,6 +115,14 @@
],
'conditions': [
+ ['<(qt_version_major) == 4', {
+ 'variables': {
+ 'cflags': [
+ # Qt4 generates code with unused variables.
+ '-Wno-unused-variable',
+ ],
+ },
+ }],
['<(qt_version_major) == 5', {
'variables': {
'cflags': [