mirror of
https://github.com/openresty/openresty.git
synced 2024-10-13 00:29:41 +00:00
made lua-cjson honor the --with-debug option; updated the test suite to reflect recent changes.
This commit is contained in:
13
util/configure
vendored
13
util/configure
vendored
@ -553,7 +553,18 @@ _EOC_
|
||||
"LUA_LIB_DIR=$lualib_prefix";
|
||||
|
||||
if ($on_solaris) {
|
||||
$extra_opts .= " INSTALL=$root_dir/build/install CFLAGS=\"-g -O3 -Wall -pedantic -D'isinf(x)=0'\"";
|
||||
$extra_opts .= " INSTALL=$root_dir/build/install";
|
||||
if ($opts->{debug}) {
|
||||
$extra_opts .= " CFLAGS=\"-g -O0 -Wall -pedantic -D'isinf(x)=0'\"";
|
||||
|
||||
} else {
|
||||
$extra_opts .= " CFLAGS=\"-g -O3 -Wall -pedantic -D'isinf(x)=0'\"";
|
||||
}
|
||||
|
||||
} else {
|
||||
if ($opts->{debug}) {
|
||||
$extra_opts .= " CFLAGS=\"-g -O0 -Wall -pedantic\"";
|
||||
}
|
||||
}
|
||||
|
||||
if ($platform eq 'macosx') {
|
||||
|
Reference in New Issue
Block a user