build: Add support for compiler analyzer flags
[dpkg.git] / scripts / t / mock-bin / gcc
blob0174f17bb4b6f161d6e2c53953bdbd4052b1e14e
1 #!/bin/sh
3 set -e
5 args="$@"
7 while [ $# -gt 0 ]; do
8 opt="$1"
9 shift
11 case "$opt" in
12 -dumpmachine)
13 echo x86_64-linux-gnu
14 exit 0
15 esac
16 done
18 # Otherwise fail hard.
19 echo "$0: unsupported command ($args) in mock wrapper"
20 exit 1