aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/external/c-testsuite/runners/single-exec/clang-x86_64
blob: f9537f5af53156b6856744d112d9bfc54dc6354b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /bin/sh

set -e
set -u

if ! test "x86_64" = "$(uname -m)"
then
    echo "incorrect host for test" 1>&2
    exit 1
fi

CC=clang
# A typical configuration
CFLAGS="--std=c11 -O2"

export CC CFLAGS
exec ./runners/single-exec/posix $1