diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-06-21 12:11:08 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-06-21 12:51:37 -0400 |
commit | 4bc79148e2ed23273afefaf439a03364d5161046 (patch) | |
tree | 4e996b7e46e56e28bb6d137db49b8fae139189eb /build/cc.sh | |
parent | 4bc06bd999786da359a05801bf9106597fe57298 (diff) | |
download | bfs-4bc79148e2ed23273afefaf439a03364d5161046.tar.xz |
build: Save cc.sh build products to gen/
Diffstat (limited to 'build/cc.sh')
-rwxr-xr-x | build/cc.sh | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/build/cc.sh b/build/cc.sh index 45d51ca..23a4c01 100755 --- a/build/cc.sh +++ b/build/cc.sh @@ -5,12 +5,5 @@ # Run the compiler and check if it succeeded -set -eu - -TMP=$(mktemp) -trap 'rm -f "$TMP"' EXIT - -( - set -x - $XCC $XCPPFLAGS $XCFLAGS $XLDFLAGS "$@" $XLDLIBS -o "$TMP" -) +set -eux +$XCC $XCPPFLAGS $XCFLAGS $XLDFLAGS "$@" $XLDLIBS |