summaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-12-23 21:34:03 -0700
committerJens Axboe <axboe@kernel.dk>2019-12-23 21:34:03 -0700
commit4332433754e872d54d612b35f329adfe5c70a969 (patch)
tree569c24b1e3bd191d84bd1aae74ed19f03ad0e974 /test/Makefile
parent32fcace197a93b060001c90dbc0936bfa38ec294 (diff)
downloadliburing-4332433754e872d54d612b35f329adfe5c70a969.tar.gz
liburing-4332433754e872d54d612b35f329adfe5c70a969.tar.bz2
configure: allow to set host CC
Use ./configure --cc=whatever to set the compiler. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile
index 38217ab..1710c8b 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -22,6 +22,10 @@ all_targets += poll poll-cancel ring-leak fsync io_uring_setup io_uring_register
include ../Makefile.quiet
+ifneq ($(MAKECMDGOALS),clean)
+include ../config-host.mak
+endif
+
all: $(all_targets)
%: %.c