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 /configure | |
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 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -26,6 +26,8 @@ for opt do ;; --datadir=*) datadir="$optarg" ;; + --cc=*) cc="$optarg" + ;; *) echo "ERROR: unkown option $opt" echo "Try '$0 --help' for more information" @@ -215,3 +217,5 @@ fi if test "$__kernel_timespec" = "yes"; then output_sym "CONFIG_HAVE_KERNEL_TIMESPEC" fi + +echo "CC=$cc" >> $config_host_mak |