mirror of
https://github.com/openresty/openresty.git
synced 2024-10-13 00:29:41 +00:00
we now use the CC variable instead of HOST_CC while passing the --with-cc option to the luajit build system. thanks @姜大炮 for reporting this issue.
This commit is contained in:
2
util/configure
vendored
2
util/configure
vendored
@ -395,7 +395,7 @@ sub build_resty_opts {
|
||||
}
|
||||
|
||||
if (defined $cc) {
|
||||
$extra_opts .= " HOST_CC=$cc";
|
||||
$extra_opts .= " CC=$cc";
|
||||
}
|
||||
|
||||
shell "make$extra_opts PREFIX=$luajit_prefix", $dry_run;
|
||||
|
Reference in New Issue
Block a user