diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-05-15 21:37:34 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-05-17 15:15:52 +0100 |
commit | 898ffefde4198a23a92810a9cf39ff6846f3bb39 (patch) | |
tree | ab4f79425d35ade4b542b0b6d57b58992408321f /src/coding | |
parent | 7f24c155f5acd898cd49f9f429500461fa4fd8a5 (diff) |
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
Diffstat (limited to 'src/coding')
-rw-r--r-- | src/coding/Makefile.am | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/coding/Makefile.am b/src/coding/Makefile.am index cbdcf471..06e55e56 100644 --- a/src/coding/Makefile.am +++ b/src/coding/Makefile.am @@ -9,6 +9,10 @@ AM_CPPFLAGS = \ $(TALLOC_CFLAGS) AM_CFLAGS = -Wall +if ENABLE_PSEUDOTALLOC +AM_CPPFLAGS += -I$(top_srcdir)/src/pseudotalloc +endif + lib_LTLIBRARIES = libosmocoding.la libosmocoding_la_SOURCES = \ |