openexrid-unstable: fix clang build

/cc ZHF #36454
This commit is contained in:
Daiderd Jordan 2018-03-24 00:06:46 +01:00
parent c6882b2cf9
commit f16db19610
No known key found for this signature in database
GPG Key ID: D02435D05B810C96

View File

@ -16,6 +16,11 @@ stdenv.mkDerivation rec
patches = [ ./openexrid.patch ]; patches = [ ./openexrid.patch ];
postPatch = ''
substituteInPlace openexrid/makefile \
--replace g++ c++
'';
NIX_CFLAGS_COMPILE=''-I${ilmbase.dev}/include/OpenEXR NIX_CFLAGS_COMPILE=''-I${ilmbase.dev}/include/OpenEXR
-I${openexr.dev}/include/OpenEXR -I${openexr.dev}/include/OpenEXR
-I${openfx.dev}/include/OpenFX -I${openfx.dev}/include/OpenFX