diff options
author | Sven Eden <yamakuzure@gmx.net> | 2017-08-08 07:51:05 +0200 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-08-10 10:07:12 +0200 |
commit | 852a2106dbb79c3a04281b6e8b78b76bc8b17b10 (patch) | |
tree | 5027ee2ec774e1562f1eb2e5d1f0734d2fb6e38d /configure | |
parent | 9be300d25d3ad458d5af612dd931da3377d3e8d1 (diff) |
Prep v235: Update root files to upstream commit 896bbe7
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/configure b/configure new file mode 100755 index 000000000..a9db8a1cf --- /dev/null +++ b/configure @@ -0,0 +1,21 @@ +#!/bin/bash -e + +cflags=CFLAGS="$CFLAGS" +cxxflags=CXXFLAGS="$CXXFLAGS" +declare -a args +j=0 +for i in "$@"; do + case "$i" in + CFLAGS=*) + cflags="$i";; + CXXFLAGS=*) + cxxflags="$i";; + *) + args[$j]="$i" + j=$((j+1)) + esac +done + +export "$cflags" "$cxxflags" +set -x +exec meson build "${args[@]}" |