This commit is contained in:
mmcwilliams 2021-09-17 15:26:24 -04:00
parent d236c835f2
commit fdde412a08
1 changed files with 5 additions and 2 deletions

View File

@ -3,10 +3,13 @@
EMAIL="hi@mmcwilliams.com" EMAIL="hi@mmcwilliams.com"
NAME="Matt McWilliams" NAME="Matt McWilliams"
#CPPFLAGS="-Wall -Wextra -Werror -I/usr/include/OpenEXR" #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/ cd unix/
./prebuild.sh ./prebuild.sh
cd ../ cd ../
./configure COMPILED_BY="$NAME <$EMAIL>" LDFLAGS="-Wl,-V" ./configure COMPILED_BY="$NAME <$EMAIL>" LDFLAGS="-Wl,-V"
echo "typedef unsigned int uint;" > uint-hack.h
make -j CPPFLAGS="${CPPFLAGS}" make -j CPPFLAGS="${CPPFLAGS}"
make install