Date: Friday, May 13, 2016 @ 23:16:49
Author: foutrelis
Revision: 175267
Hack CXXFLAGS to fix build with GCC 6
Modified:
openshadinglanguage/trunk/PKGBUILD
----------+
PKGBUILD | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-05-13 20:59:08 UTC (rev 175266)
+++ PKGBUILD 2016-05-13 21:16:49 UTC (rev 175267)
@@ -35,7 +35,11 @@
-DCMAKE_INSTALL_PREFIX=/usr \
-DLLVM_STATIC=1 \
-DOSL_BUILD_CPP11=1 \
- -DCMAKE_CXX_FLAGS="-Wno-error=array-bounds -Wno-error=sign-compare
-std=c++11"
+ -DCMAKE_CXX_FLAGS="\
+ -Wno-error=array-bounds \
+ -Wno-error=sign-compare \
+ -Wno-error=strict-aliasing \
+ -Wno-error=misleading-indentation"
make
}