From bdec9cb8c93745a78e2aca1399b540f1976ec8ab Mon Sep 17 00:00:00 2001 From: Andrey Volk Date: Sat, 22 Feb 2020 17:27:26 +0400 Subject: [PATCH] [Unit-tests] Fix bootstrap warnings. --- tests/unit/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/unit/Makefile.am b/tests/unit/Makefile.am index 25aa268be0..16d6e065ee 100644 --- a/tests/unit/Makefile.am +++ b/tests/unit/Makefile.am @@ -1,11 +1,11 @@ include $(top_srcdir)/build/modmake.rulesam +undefine AM_CFLAGS + noinst_PROGRAMS = switch_event switch_hash switch_ivr_originate switch_utils switch_core switch_console switch_vpx switch_core_file \ switch_ivr_play_say switch_core_codec switch_rtp switch_xml noinst_PROGRAMS+= switch_core_video switch_core_db -AM_LDFLAGS = -avoid-version -no-undefined $(SWITCH_AM_LDFLAGS) $(openssl_LIBS) +AM_LDFLAGS += -avoid-version -no-undefined $(openssl_LIBS) AM_LDFLAGS += $(FREESWITCH_LIBS) $(switch_builddir)/libfreeswitch.la $(CORE_LIBS) $(APR_LIBS) -AM_CFLAGS = $(SWITCH_AM_CPPFLAGS) -AM_CPPFLAGS = $(SWITCH_AM_CPPFLAGS) TESTS = $(noinst_PROGRAMS)