commit | 59492c26882b1173f2277ca11841b3aac9fc26d4 | [log] [tgz] |
---|---|---|
author | Nguyen Anh Quynh <aquynh@gmail.com> | Sun Jan 05 23:41:31 2014 +0800 |
committer | Nguyen Anh Quynh <aquynh@gmail.com> | Sun Jan 05 23:41:31 2014 +0800 |
tree | 6d3fd004d7bd4a2301ecea46f66f51267b13585a | |
parent | f122ae0629e41ad80e4626de3681d4175b91236b [diff] [blame] |
enable system's my_malloc/calloc/realloc/free via compile time option
diff --git a/Makefile b/Makefile index a201592..ad9e8a8 100644 --- a/Makefile +++ b/Makefile
@@ -9,6 +9,11 @@ STRIP ?= $(CROSS)strip CFLAGS += -fPIC -O3 -Wall -Iinclude + +ifeq ($(USE_SYS_DYN_MEM),yes) +CFLAGS += -DUSE_SYS_DYN_MEM +endif + LDFLAGS += -shared PREFIX ?= /usr