]> git.ipfire.org Git - thirdparty/systemd.git/blame - configure
sd-boot: silence one warning about pointer cast
[thirdparty/systemd.git] / configure
CommitLineData
e7e15703
ZJS
1#!/bin/bash -e
2
3cflags=CFLAGS="$CFLAGS"
4cxxflags=CXXFLAGS="$CXXFLAGS"
5declare -a args
6j=0
7for i in "$@"; do
8 case "$i" in
9 CFLAGS=*)
10 cflags="$i";;
11 CXXFLAGS=*)
12 cxxflags="$i";;
13 *)
14 args[$j]="$i"
15 j=$((j+1))
16 esac
17done
18
19export "$cflags" "$cxxflags"
20set -x
21exec meson build "${args[@]}"