mirror of
https://github.com/openresty/openresty.git
synced 2024-10-13 00:29:41 +00:00
we do not specify TARGET_STRIP= when CCDEBUG is set to -g because it will make gmake crash. sigh.
This commit is contained in:
8
util/configure
vendored
8
util/configure
vendored
@ -326,12 +326,12 @@ sub build_resty_opts {
|
||||
|
||||
my $extra_opts = ' TARGET_STRIP=';
|
||||
|
||||
if (defined $cc) {
|
||||
$extra_opts .= " HOST_CC=$cc";
|
||||
if ($opts->{debug}) {
|
||||
$extra_opts = ' CCDEBUG=-g Q=';
|
||||
}
|
||||
|
||||
if ($opts->{debug}) {
|
||||
$extra_opts .= ' CCDEBUG=-g Q=';
|
||||
if (defined $cc) {
|
||||
$extra_opts .= " HOST_CC=$cc";
|
||||
}
|
||||
|
||||
shell "make$extra_opts PREFIX=$luajit_prefix", $dry_run;
|
||||
|
Reference in New Issue
Block a user