summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorharre2020-01-04 03:30:59 +0100
committerharre2020-01-04 03:30:59 +0100
commit5e66b48fa5b20bc90b48e7eb23d48798ee7cff92 (patch)
tree8d7ddf11e4da7e0579416d7aa4813a5bbc9fe99e
parentfff2ec84395c10292eadb03c88ac96cbe85d8027 (diff)
downloadaur-5e66b48fa5b20bc90b48e7eb23d48798ee7cff92.tar.gz
Added compile flag -fpermissive to fix compile error
-rw-r--r--permissive.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/permissive.patch b/permissive.patch
new file mode 100644
index 00000000000..8d806a0defc
--- /dev/null
+++ b/permissive.patch
@@ -0,0 +1,14 @@
+diff --git a/oscar/oscar.pro b/oscar/oscar.pro
+index cd228b00..18199837 100644
+--- a/oscar/oscar.pro
++++ b/oscar/oscar.pro
+@@ -471,6 +471,9 @@ QMAKE_CXXFLAGS += -Werror
+ QMAKE_CFLAGS += -Wno-error=deprecated-declarations
+ QMAKE_CXXFLAGS += -Wno-error=deprecated-declarations
+
++# Make g++ more permissive
++QMAKE_CFLAGS += -fpermissive
++QMAKE_CXXFLAGS += -fpermissive
+
+ # Create a debug GUI build by adding "CONFIG+=memdebug" to your qmake command
+ memdebug {