aboutsummaryrefslogtreecommitdiff
path: root/community/mu/build
diff options
context:
space:
mode:
Diffstat (limited to 'community/mu/build')
-rwxr-xr-xcommunity/mu/build12
1 files changed, 12 insertions, 0 deletions
diff --git a/community/mu/build b/community/mu/build
new file mode 100755
index 00000000..e5366f24
--- /dev/null
+++ b/community/mu/build
@@ -0,0 +1,12 @@
+#!/bin/sh -e
+
+export CFLAGS="$CFLAGS -static-libgcc -static-libstdc++"
+export CXXFLAGS="$CXXFLAGS -static-libgcc -static-libstdc++"
+export DESTDIR="$1"
+
+cl-meson \
+ -Dreadline="$(cpt l -C readline enabled disabled)" \
+ . output
+
+ninja -C output
+ninja -C output install