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:
agentzh (章亦春)
2011-08-06 19:30:27 +08:00
parent 6e5f3ce9b5
commit 23d0222ed3
3 changed files with 22 additions and 22 deletions

2
util/configure vendored
View File

@ -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;

View File

@ -1,7 +1,7 @@
#!/bin/bash
main_ver=1.0.4
minor_ver=2rc7
minor_ver=2rc8
version=$main_ver.$minor_ver
echo $version