asterisk11: clean up compile stage
authorSebastian Kemper <sebastian_ml@gmx.net>
Sun, 10 Sep 2017 20:15:38 +0000 (22:15 +0200)
committerSebastian Kemper <sebastian_ml@gmx.net>
Sun, 10 Sep 2017 20:15:40 +0000 (22:15 +0200)
commit1538a855d445c1e10a9e0119ac2c9abf6505bc71
treec00b1c8b6b1d6347411eea89b514dc12f3390365
parent3dd0dfe492fd549153e2fc38c6fa53e6b3d59dc1
asterisk11: clean up compile stage

- Don't add extra TARGET_LDFLAGS for asterisk13-pbx-lua. It is not
  needed anymore.
- Stop setting -Wl,-rpath-link in LDFLAGS. There seems to be no point to
  do that (anymore).
- Stop calling specific make targets like version.h; make handles the
  build properly without it.
- Add AST_FORTIFY_SOURCE to MAKE_FLAGS (seen in Debian rules file,
  prevents asterisk's build system to mess with OpenWrt/LEDE flags).

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