]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[Unit-tests] Fix bootstrap warnings.
authorAndrey Volk <andywolk@gmail.com>
Sat, 22 Feb 2020 13:27:26 +0000 (17:27 +0400)
committerAndrey Volk <andywolk@gmail.com>
Sat, 22 Feb 2020 13:29:21 +0000 (17:29 +0400)
tests/unit/Makefile.am

index 25aa268be0fa222529b335ae5aaa811ac2376eaa..16d6e065eeb635ac2d57bf4c4a672a9d689bcc2d 100644 (file)
@@ -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)