Ensure that CFLAGS and/or LDFLAGS provided to configure script are preserved.
authorKevin P. Fleming <kpfleming@digium.com>
Fri, 28 Aug 2009 20:01:21 +0000 (20:01 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Fri, 28 Aug 2009 20:01:21 +0000 (20:01 +0000)
commit802b79e3ca114e5958e12e57c5eb7f0569f45c77
tree94a3fc2d8afe760a93e732a57af1b8f082bc47c5
parentf199054c88ea146da16164fd4d2d6b96f4417cee
Ensure that CFLAGS and/or LDFLAGS provided to configure script are preserved.

Cross-compilation environments want to provide 'defaults' for compiler and
linker options, and frequently do this by specifying CFLAGS and LDFLAGS in the
environment or as command-line arguments to the configure script. This patch
modifies the configure script and Makefile to preserve these settings and
ensure they are used in the build process.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@214696 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Makefile
configure.ac
include/asterisk/autoconfig.h.in
makeopts.in