diff options
author | Igor Sysoev <igor@sysoev.ru> | 2017-03-14 19:05:43 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2017-03-14 19:05:43 +0300 |
commit | 5135fcea930985dab45085033c5aae54c6ad1a65 (patch) | |
tree | 1b7dc8de207155d527a1322be5cb0f5a02a7a985 /auto/make | |
parent | 3a8a4744b8496cc8f607b1a8e14c5f1f60628d38 (diff) | |
download | unit-5135fcea930985dab45085033c5aae54c6ad1a65.tar.gz unit-5135fcea930985dab45085033c5aae54c6ad1a65.tar.bz2 |
Adding CFLAGS to link commands to pass flags required by
AddressSanitizer.
Diffstat (limited to 'auto/make')
-rw-r--r-- | auto/make | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -116,7 +116,7 @@ cat << END >> $NXT_MAKEFILE $NXT_BUILD_DIR/lib_unit_test: \$(NXT_LIB_UNIT_TEST_OBJS) \\ $NXT_BUILD_DIR/$NXT_LIB_STATIC \$(NXT_LIB_DEPS) \$(NXT_EXEC_LINK) -o $NXT_BUILD_DIR/lib_unit_test \\ - \$(NXT_LIB_UNIT_TEST_OBJS) \\ + \$(CFLAGS) \$(NXT_LIB_UNIT_TEST_OBJS) \\ $NXT_BUILD_DIR/$NXT_LIB_STATIC \\ $NXT_LD_OPT $NXT_LIBM $NXT_LIBS $NXT_LIB_AUX_LIBS @@ -191,7 +191,7 @@ cat << END >> $NXT_MAKEFILE $NXT_BUILD_DIR/$NXT_BIN: $NXT_BUILD_DIR/$NXT_LIB_STATIC \\ \$(NXT_OBJS) - \$(NXT_EXEC_LINK) -o $NXT_BUILD_DIR/$NXT_BIN \\ + \$(NXT_EXEC_LINK) -o $NXT_BUILD_DIR/$NXT_BIN \$(CFLAGS) \\ \$(NXT_OBJS) $NXT_BUILD_DIR/$NXT_LIB_STATIC \\ $NXT_LIBM $NXT_LIBS $NXT_LIB_AUX_LIBS |