Configure: always respect C compiler options.

Previously, auto/cc/* and auto/include didn't respect C compiler options
provided via --with-cc-opt and/or CFLAGS, which resulted in bogus errors
when path to system headers and libraries was defined via --sysroot.

While there, retain working GCC's -pipe for autotests.

Change-Id: Ie097ef25278d924b60204fb453b6a540738cb86f
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
Reviewed-on: https://nginx-review.googlesource.com/1009
Reviewed-by: Martin Maly <mmaly@google.com>
5 files changed
tree: ce42d9df032d5ea15e7f55d92a068c3ac9a63486
  1. auto/
  2. conf/
  3. contrib/
  4. docs/
  5. misc/
  6. src/
  7. .hgtags
  8. LICENSE