summaryrefslogtreecommitdiffstats
path: root/development/qt-creator/remove-w-error-unguarded-availability-new.patch
diff options
context:
space:
mode:
author Andrzej Telszewski <atelszewski@gmail.com>2019-07-20 10:24:17 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2019-07-20 10:24:17 +0700
commit64ae05631b1c1dd6e1328bd4911abfa335d10ff8 (patch)
tree05d0671c13b57817c82c8f30f00c0a3434bf797a /development/qt-creator/remove-w-error-unguarded-availability-new.patch
parentb7cc8e540cebfea94d58287c6b58d93d1c863d91 (diff)
downloadslackbuilds-64ae05631b1c1dd6e1328bd4911abfa335d10ff8.tar.gz
slackbuilds-64ae05631b1c1dd6e1328bd4911abfa335d10ff8.tar.xz
development/qt-creator: Updated for version 4.9.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/qt-creator/remove-w-error-unguarded-availability-new.patch')
-rw-r--r--development/qt-creator/remove-w-error-unguarded-availability-new.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/development/qt-creator/remove-w-error-unguarded-availability-new.patch b/development/qt-creator/remove-w-error-unguarded-availability-new.patch
new file mode 100644
index 0000000000..7794cce51c
--- /dev/null
+++ b/development/qt-creator/remove-w-error-unguarded-availability-new.patch
@@ -0,0 +1,10 @@
+--- src/shared/clang/clang_installation.pri.orig 2018-09-18 10:30:26.000000000 +0200
++++ src/shared/clang/clang_installation.pri 2018-09-25 20:25:05.873974281 +0200
+@@ -180,6 +180,7 @@
+ LLVM_CXXFLAGS ~= s,-fPIC,
+ LLVM_CXXFLAGS ~= s,-pedantic,
+ LLVM_CXXFLAGS ~= s,-Wstring-conversion,
++ LLVM_CXXFLAGS ~= s,-Werror=unguarded-availability-new,
+ # split-dwarf needs objcopy which does not work via icecc out-of-the-box
+ LLVM_CXXFLAGS ~= s,-gsplit-dwarf,
+