summaryrefslogtreecommitdiffstats
path: root/build/cc.sh
blob: 23a4c0110aec6ab78457c6469ea2c6e061cfcf09 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

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

# Run the compiler and check if it succeeded

set -eux
$XCC $XCPPFLAGS $XCFLAGS $XLDFLAGS "$@" $XLDLIBS