asterisk/utils
Sebastian Kemper b7fbb9c41f check_expr2: fix cross-compile/hardening issues
When building check_expr2 with ASLR PIE hardening enabled the linker
fails. This is resolved by adding the regular compiler flags when
building the object files from ast_expr2f.c and ast_expr2.c.

Note: The STANDALONE define is removed because it is already defined in
_ASTCFLAGS. YY_NO_INPUT is defined so that the compile survives
'--enable-dev-mode'.

Also, a Makefile variable "CROSS_COMPILING" is added so that the
build system doesn't try to run check_expr2 when cross-compiling,
because that will fail the build as will.

ASTERISK-28685 #close

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Change-Id: If435b7db9f9ad8266245bda51c81c220f9658915
2020-02-26 19:52:17 +01:00
..
db1-ast Fix GCC 8 build issues. 2018-05-11 09:48:58 -04:00
.gitignore core: Stop using AST_INLINE_API for allocator functions. 2018-03-17 01:06:33 -04:00
Makefile check_expr2: fix cross-compile/hardening issues 2020-02-26 19:52:17 +01:00
ael_main.c backtrace: Refactor ast_bt_get_symbols so it doesn't crash 2018-11-19 05:49:39 -07:00
astcanary.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
astdb2bdb.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
astdb2sqlite3.c Fix 'statement' typo throughout code. 2018-10-18 12:44:10 -05:00
astman.1 Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
astman.c Fix GCC 8 build issues. 2018-05-11 09:48:58 -04:00
check_expr.c backtrace: Refactor ast_bt_get_symbols so it doesn't crash 2018-11-19 05:49:39 -07:00
clicompat.c CLI: Enable automatic references to modules. 2015-05-04 20:47:18 -04:00
conf2ael.c backtrace: Refactor ast_bt_get_symbols so it doesn't crash 2018-11-19 05:49:39 -07:00
conf_bridge_binaural_hrir_importer.c Binaural synthesis (confbridge): Adds binaural synthesis to bridge_softmix. 2017-02-23 10:34:58 -07:00
conf_bridge_binaural_hrir_importer.h Binaural synthesis (confbridge): Adds binaural synthesis to bridge_softmix. 2017-02-23 10:34:58 -07:00
expr2.testinput Merged revisions 179807 via svnmerge from 2009-03-03 22:12:02 +00:00
extconf.c Fixes for GCC 9 2019-05-10 10:22:55 -06:00
frame.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
frame.h utils: Remove trailing whitespace 2015-05-03 05:28:07 -04:00
muted.c module: Remove deprecated modules and update support levels. 2018-07-18 18:15:53 +00:00
smsq.c Fixes for GCC 9 2019-05-10 10:22:55 -06:00
stereorize.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
streamplayer.c BuildSystem: Add DragonFly BSD. 2018-04-20 12:50:03 +02:00
utils.xml module: Remove deprecated modules and update support levels. 2018-07-18 18:15:53 +00:00