]> git.ipfire.org Git - thirdparty/systemd.git/blame - configure
Merge pull request #16112 from poettering/nss-systemd-block-fix
[thirdparty/systemd.git] / configure
CommitLineData
ff12a795
JT
1#!/usr/bin/env bash
2set -e
e7e15703
ZJS
3
4cflags=CFLAGS="$CFLAGS"
5cxxflags=CXXFLAGS="$CXXFLAGS"
6declare -a args
7j=0
8for i in "$@"; do
9 case "$i" in
10 CFLAGS=*)
11 cflags="$i";;
12 CXXFLAGS=*)
13 cxxflags="$i";;
14 *)
15 args[$j]="$i"
16 j=$((j+1))
17 esac
18done
19
20export "$cflags" "$cxxflags"
21set -x
22exec meson build "${args[@]}"