comparison auto/make @ 6700:0d2956dfc4e6

Perl: pass additional linker options to perl module. Previously flags passed by --with-ld-opt were not used when building perl module, which meant hardening flags provided by package build systems were not applied.
author Konstantin Pavlov <thresh@nginx.com>
date Tue, 20 Sep 2016 22:11:23 +0300
parents 05c894a598ea
children 2c7a2d75938a
comparison
equal deleted inserted replaced
6699:9cf2dce316e5 6700:0d2956dfc4e6
29 29
30 30
31 if test -n "$NGX_PERL_CFLAGS"; then 31 if test -n "$NGX_PERL_CFLAGS"; then
32 echo NGX_PERL_CFLAGS = $NGX_PERL_CFLAGS >> $NGX_MAKEFILE 32 echo NGX_PERL_CFLAGS = $NGX_PERL_CFLAGS >> $NGX_MAKEFILE
33 echo NGX_PM_CFLAGS = $NGX_PM_CFLAGS >> $NGX_MAKEFILE 33 echo NGX_PM_CFLAGS = $NGX_PM_CFLAGS >> $NGX_MAKEFILE
34 echo NGX_PM_LDFLAGS = $NGX_PM_LDFLAGS >> $NGX_MAKEFILE
34 fi 35 fi
35 36
36 37
37 # ALL_INCS, required by the addons and by OpenWatcom C precompiled headers 38 # ALL_INCS, required by the addons and by OpenWatcom C precompiled headers
38 39