mirror of
https://github.com/openresty/openresty.git
synced 2024-10-13 00:29:41 +00:00
always enable debuginfo in the bundled LuaJIT 2.0 build and Lua 5.1 build to support Nginx Systemtap Toolkit.
This commit is contained in:
4
util/configure
vendored
4
util/configure
vendored
@ -512,12 +512,12 @@ _END_
|
||||
|
||||
cd $luajit_src;
|
||||
|
||||
my $extra_opts = ' TARGET_STRIP=@:';
|
||||
my $extra_opts = ' TARGET_STRIP=@: CCDEBUG=-g';
|
||||
|
||||
if ($opts->{debug}) {
|
||||
$luajit_xcflags .= " -DLUA_USE_APICHECK -DLUA_USE_ASSERT";
|
||||
$luajit_xcflags =~ s/^ +//;
|
||||
$extra_opts .= qq{ CCDEBUG=-g Q= XCFLAGS='$luajit_xcflags'};
|
||||
$extra_opts .= qq{ Q= XCFLAGS='$luajit_xcflags'};
|
||||
|
||||
} else {
|
||||
if ($luajit_xcflags) {
|
||||
|
Reference in New Issue
Block a user