Use flags from https://hub.docker.com/r/jmaxwilson/povray/dockerfile with UINT hack
This commit is contained in:
parent
d236c835f2
commit
fdde412a08
|
@ -3,10 +3,13 @@
|
|||
EMAIL="hi@mmcwilliams.com"
|
||||
NAME="Matt McWilliams"
|
||||
#CPPFLAGS="-Wall -Wextra -Werror -I/usr/include/OpenEXR"
|
||||
CPPFLAGS="-pipe -Wno-multichar -Wno-write-strings -fno-enforce-eh-specs -Wno-non-template-friend -s -O3 -ffast-math -march=native"
|
||||
#CPPFLAGS="-pipe -Wno-multichar -Wno-write-strings -fno-enforce-eh-specs -Wno-non-template-friend -s -O3 -ffast-math -march=native"
|
||||
CPPFLAGS="-include uint-hack.h -I/usr/include/OpenEXR"
|
||||
|
||||
cd unix/
|
||||
./prebuild.sh
|
||||
cd ../
|
||||
./configure COMPILED_BY="$NAME <$EMAIL>" LDFLAGS="-Wl,-V"
|
||||
make -j CPPFLAGS="${CPPFLAGS}"
|
||||
echo "typedef unsigned int uint;" > uint-hack.h
|
||||
make -j CPPFLAGS="${CPPFLAGS}"
|
||||
make install
|
Loading…
Reference in New Issue