aboutsummaryrefslogtreecommitdiff
path: root/extra/graphite/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/graphite/build')
-rwxr-xr-xextra/graphite/build10
1 files changed, 10 insertions, 0 deletions
diff --git a/extra/graphite/build b/extra/graphite/build
new file mode 100755
index 00000000..73b2a882
--- /dev/null
+++ b/extra/graphite/build
@@ -0,0 +1,10 @@
+#!/bin/sh -e
+
+export DESTDIR="$1"
+export CXXFLAGS="$CXXFLAGS -static-libgcc -static-libstdc++"
+
+cmake -B build \
+ -DCMAKE_INSTALL_PREFIX=/usr
+
+cmake --build build
+cmake --install build