diff options
author | Tilmann Meyer | 2020-03-18 15:35:25 +0100 |
---|---|---|
committer | Tilmann Meyer | 2020-03-18 15:35:25 +0100 |
commit | af98bc0fa1c9e5aa302f22b57f2121dbc1d68d5d (patch) | |
tree | 29e48d745f2f23c01322b6784e8d7c19c26159e0 /meson.sh | |
download | aur-af98bc0fa1c9e5aa302f22b57f2121dbc1d68d5d.tar.gz |
addpkg: aarch64-linux-gnu-meson
Diffstat (limited to 'meson.sh')
-rw-r--r-- | meson.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/meson.sh b/meson.sh new file mode 100644 index 000000000000..92da828d1adb --- /dev/null +++ b/meson.sh @@ -0,0 +1,15 @@ +#!/usr/bin/env sh + +TARGET=aarch64-linux-gnu + +CROSS_FILE=/usr/share/aarch64/toolchain.meson + +source $TARGET-environment + +exec meson setup \ + --buildtype release \ + --wrap-mode nofallback \ + -D strip=true \ + --cross-file $CROSS_FILE \ + --default-library shared \ + "$@" |