fix bugs: when --with-cc-opt=OPTS assigned, "-O2" not be overridden

in configure, shift ngx_cc_opts when --with-cc-opt= assigned
pull/344/head
TanGuofu 7 years ago committed by GitHub
parent e5b5344238
commit 8d607abcd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

1
util/configure vendored

@ -232,6 +232,7 @@ for my $opt (@ARGV) {
usage 0;
} elsif ($opt =~ /^--with-cc-opt=(.*)/) {
shift @ngx_cc_opts
push @ngx_cc_opts, $1;
} elsif ($opt =~ /^--with-ld-opt=(.*)/) {

Loading…
Cancel
Save