build (333B)
1 2 3 4 5 6 7 8 9 10 11 12 13 14
#!/bin/sh -e export DESTDIR="$1" cmake -B build \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_C_FLAGS:STRING="$CFLAGS" \ -DCMAKE_BUILD_TYPE:STRING=Release \ -DGRAPHITE2_COMPARE_RENDERER=OFF find . -type f ! -name "rules" ! -name "changelog" -exec sed -i -e 's/\-O3//g' {} \; cmake --build build cmake --install build