diff options
author | Jens Axboe <axboe@kernel.dk> | 2019-12-23 21:34:03 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-12-23 21:34:03 -0700 |
commit | 4332433754e872d54d612b35f329adfe5c70a969 (patch) | |
tree | 569c24b1e3bd191d84bd1aae74ed19f03ad0e974 /examples | |
parent | 32fcace197a93b060001c90dbc0936bfa38ec294 (diff) | |
download | liburing-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 'examples')
-rw-r--r-- | examples/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/Makefile b/examples/Makefile index 5896b45..28456a9 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -4,6 +4,10 @@ override CFLAGS += -Wall -D_GNU_SOURCE -L../src/ -I../src/include/ include ../Makefile.quiet +ifneq ($(MAKECMDGOALS),clean) +include ../config-host.mak +endif + all_targets += io_uring-test io_uring-cp link-cp ucontext-cp all: $(all_targets) |