mirror of
https://github.com/openresty/openresty.git
synced 2024-10-13 00:29:41 +00:00
optimize: now we use the C compiler option -O2 by default.
This commit is contained in:
4
util/configure
vendored
4
util/configure
vendored
@ -123,6 +123,10 @@ my $luajit_xcflags = '';
|
||||
|
||||
my (@ngx_opts, @ngx_cc_opts, @ngx_ld_opts);
|
||||
|
||||
# use -O2 to compile everything by default (which can be overridden
|
||||
# by the user's own --with-cc-opt=OPTS option):
|
||||
push @ngx_cc_opts, "-O2";
|
||||
|
||||
for my $opt (@ARGV) {
|
||||
next unless defined $opt;
|
||||
|
||||
|
Reference in New Issue
Block a user