From 898ffefde4198a23a92810a9cf39ff6846f3bb39 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 15 May 2017 21:37:34 +0200 Subject: add libpseudotalloc as super-simplistic talloc replacement In tightly embedded builds (--enable-embedded), we want the ability to replace talloc with a very simple heap allocator to avoid the complexity of talloc without modifying all our code that assumes talloc. This will break the hierarchical notion of the allocator, but libosmo{core,gsm,coding,codec} don't rely on that anyway. Change-Id: Ie341034076f242a813f081919dd09d845775ad35 --- src/codec/Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/codec') diff --git a/src/codec/Makefile.am b/src/codec/Makefile.am index f61d2fe8..b4df5da7 100644 --- a/src/codec/Makefile.am +++ b/src/codec/Makefile.am @@ -6,6 +6,11 @@ LIBVERSION=0:0:0 AM_CPPFLAGS = -I$(top_srcdir)/include $(TALLOC_CFLAGS) AM_CFLAGS = -Wall +if ENABLE_PSEUDOTALLOC +AM_CPPFLAGS += -I$(top_srcdir)/src/pseudotalloc +endif + + lib_LTLIBRARIES = libosmocodec.la libosmocodec_la_SOURCES = gsm610.c gsm620.c gsm660.c gsm690.c -- cgit v1.2.3