summaryrefslogtreecommitdiffstats
path: root/config/cc.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-04-10 13:13:19 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-04-10 13:23:40 -0400
commit6c8d11e8e5b3457286fcda75b6516e93f1f12f17 (patch)
treeb637ba7322df4e60e4e8174f53b48348b8f408a1 /config/cc.sh
parent8f5ce115d51d31756b6911310a0deb1bafba46c0 (diff)
downloadbfs-6c8d11e8e5b3457286fcda75b6516e93f1f12f17.tar.xz
build: Run pkg-config with all packages at once
Diffstat (limited to 'config/cc.sh')
-rwxr-xr-xconfig/cc.sh8
1 files changed, 1 insertions, 7 deletions
diff --git a/config/cc.sh b/config/cc.sh
index 7e5c0d5..2b340c0 100755
--- a/config/cc.sh
+++ b/config/cc.sh
@@ -7,10 +7,4 @@
set -eux
-$XCC \
- $BFS_CPPFLAGS $XCPPFLAGS ${EXTRA_CPPFLAGS:-} \
- $BFS_CFLAGS $XCFLAGS ${EXTRA_CFLAGS:-} \
- $XLDFLAGS ${EXTRA_LDFLAGS:-} \
- "$@" \
- $XLDLIBS ${EXTRA_LDLIBS:-} $BFS_LDLIBS \
- -o /dev/null
+$CC $CPPFLAGS $CFLAGS $LDFLAGS "$@" $LDLIBS -o /dev/null