asterisk-13.x: clean up compile stage
authorSebastian Kemper <sebastian_ml@gmx.net>
Wed, 10 Jan 2018 22:11:13 +0000 (23:11 +0100)
committerSebastian Kemper <sebastian_ml@gmx.net>
Wed, 10 Jan 2018 22:11:15 +0000 (23:11 +0100)
commit2ef5b082ce6240ddaa1a9753d95f8b6490ca21c1
treeebe048ec27e651f1de341c6ecc92069892c5c30b
parentee4ba55e32243c94e221281b89040cf5233b3dd5
asterisk-13.x: clean up compile stage

- Don't add extra TARGET_LDFLAGS for asterisk13-pbx-lua. It is not
  needed anymore (apart from that the module isn't available currently,
  see next commit).
- Stop setting -Wl,-rpath-link in LDFLAGS. There is no point to do that.
- Stop calling specific make targets like version.h; make handles the
  build properly without it.
- Use the default compile routine instead of the custom one.
- Add AST_FORTIFY_SOURCE to MAKE_FLAGS (seen in Debian rules file,
  prevents asterisk's build system to mess with OpenWrt/LEDE flags).
- Remove $(SITE_VARS) (unused)
- Remove $(SDK) from ifneq. The variable prevents the ifneq from
  working on the buildbots. $(SDK) is set there, so the ifneqs that test
  for empty will always be true.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
net/asterisk-13.x/Makefile