diff options
Diffstat (limited to 'build/cc.sh')
-rwxr-xr-x | build/cc.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/build/cc.sh b/build/cc.sh new file mode 100755 index 0000000..23a4c01 --- /dev/null +++ b/build/cc.sh @@ -0,0 +1,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 |