community/openshadinglanguage to 1.7.2-2

This commit is contained in:
Kevin Mihelich 2016-05-14 15:47:16 +00:00
parent f898171a24
commit 928f560b6c

View file

@ -7,7 +7,7 @@
pkgname=openshadinglanguage
pkgver=1.7.2
pkgrel=1
pkgrel=2
pkgdesc="Advanced shading language for production GI renderers"
arch=(i686 x86_64)
url="https://github.com/imageworks/OpenShadingLanguage"
@ -43,7 +43,11 @@ build() {
-DLLVM_STATIC=1 ${BITCODE} \
-DSTOP_ON_WARNING=0 \
-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
}