diff options
author | Damjan Marion <damarion@cisco.com> | 2018-08-01 14:38:36 +0200 |
---|---|---|
committer | Damjan Marion <damarion@cisco.com> | 2018-08-01 14:39:58 +0200 |
commit | 5f21e1bd613b372ea6f8be6423894548dae59bdc (patch) | |
tree | bc88c9c1f3aec1c4768078514b9f6392ee037b0a /src/examples | |
parent | afc725afaed47f90f48f148c5c8f74348e0aaf23 (diff) |
Store USE_DLMALLOC in vppinfra/config.h
Change-Id: Ib596e7f525b83dc7e830bcf6a126cd210216ce86
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/examples')
-rw-r--r-- | src/examples/sample-plugin/Makefile.am | 2 | ||||
-rw-r--r-- | src/examples/sample-plugin/configure.ac | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/src/examples/sample-plugin/Makefile.am b/src/examples/sample-plugin/Makefile.am index 2622f4e69f9..1825a8f111f 100644 --- a/src/examples/sample-plugin/Makefile.am +++ b/src/examples/sample-plugin/Makefile.am @@ -13,7 +13,7 @@ AUTOMAKE_OPTIONS = foreign subdir-objects -AM_CFLAGS = -Wall -I${top_srcdir} -I${top_builddir} @DLMALLOC@ +AM_CFLAGS = -Wall -I${top_srcdir} -I${top_builddir} AM_LDFLAGS = -module -shared -avoid-version AM_LIBTOOLFLAGS = --quiet SUFFIXES = .api.h .api .api.json diff --git a/src/examples/sample-plugin/configure.ac b/src/examples/sample-plugin/configure.ac index 57ec6ee02c1..69d989183c5 100644 --- a/src/examples/sample-plugin/configure.ac +++ b/src/examples/sample-plugin/configure.ac @@ -32,9 +32,6 @@ AC_DEFUN([ENABLE_ARG], m4_append([list_of_enabled], [$1], [, ]) ]) -ENABLE_ARG(dlmalloc, [Enable dlmalloc]) -AC_SUBST(DLMALLOC, [-DUSE_DLMALLOC=${n_enable_dlmalloc}]) - CC_CHECK_FLAG("-Wno-address-of-packed-member") AS_IF([test "$cc_flag_check" = yes], [CFLAGS="${CFLAGS} -Wno-address-of-packed-member"], []) |