diff --git a/povray_gcc/build.sh b/povray_gcc/build.sh index 0314233..13cc270 100644 --- a/povray_gcc/build.sh +++ b/povray_gcc/build.sh @@ -2,9 +2,11 @@ EMAIL="hi@mmcwilliams.com" NAME="Matt McWilliams" +CPPFLAGS="-include uint-hack.h -I/usr/include/OpenEXR" cd unix/ sh prebuild.sh cd ../ ./configure COMPILED_BY="$NAME <$EMAIL>" LDFLAGS="-Wl,-V" -make -j \ No newline at end of file +echo "typedef unsigned int uint;" > uint-hack.h +make -j CPPFLAGS="${CPPFLAGS}" \ No newline at end of file