asterisk-13.x: clean up compile stage
authorSebastian Kemper <sebastian_ml@gmx.net>
Tue, 16 Jan 2018 19:07:13 +0000 (20:07 +0100)
committerSebastian Kemper <sebastian_ml@gmx.net>
Tue, 16 Jan 2018 19:07:15 +0000 (20:07 +0100)
commit6fba6f38a5bfa4badb1ea34b0289628ca715aaa1
tree535ae75d69b185f7514c6ab5db68417e37af305d
parenta430a3a59ba309c853ca9bf18b6b857d863240c0
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