summaryrefslogtreecommitdiffstats
path: root/config/cc.sh
blob: 2b340c09236af2e17bd36bef791bdfa09b7b71e2 (plain)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env bash

# Copyright © Tavian Barnes <tavianator@tavianator.com>
# SPDX-License-Identifier: 0BSD

# Run the compiler and check if it succeeded

set -eux

$CC $CPPFLAGS $CFLAGS $LDFLAGS "$@" $LDLIBS -o /dev/null