summaryrefslogtreecommitdiffstats
path: root/libc/Android.mk
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2010-01-12 18:59:25 -0800
committerColin Cross <ccross@android.com>2010-01-15 15:01:44 -0800
commit4fa7b105644222d9b35347c9d226ca8e011072eb (patch)
treeb190c2c5cf1315a4326b09678e855e3d23a426fc /libc/Android.mk
parent3839580cd9635fcfb8b509eef4c693b51ec48a12 (diff)
downloadbionic-4fa7b105644222d9b35347c9d226ca8e011072eb.zip
bionic-4fa7b105644222d9b35347c9d226ca8e011072eb.tar.gz
bionic-4fa7b105644222d9b35347c9d226ca8e011072eb.tar.bz2
Import regex from OpenBSD
Change-Id: I7ad7d907ef65e4e345f94777d730813b1270a612
Diffstat (limited to 'libc/Android.mk')
-rw-r--r--libc/Android.mk9
1 files changed, 7 insertions, 2 deletions
diff --git a/libc/Android.mk b/libc/Android.mk
index 7f50390..92f8c19 100644
--- a/libc/Android.mk
+++ b/libc/Android.mk
@@ -273,7 +273,11 @@ libc_common_src_files := \
netbsd/nameser/ns_ttl.c \
netbsd/nameser/ns_netint.c \
netbsd/nameser/ns_print.c \
- netbsd/nameser/ns_samedomain.c
+ netbsd/nameser/ns_samedomain.c \
+ regex/regcomp.c \
+ regex/regerror.c \
+ regex/regexec.c \
+ regex/regfree.c \
# Architecture specific source files go here
# =========================================================
@@ -391,7 +395,8 @@ libc_common_cflags := \
-DNEED_PSELECT=1 \
-DINET6 \
-I$(LOCAL_PATH)/private \
- -DUSE_DL_PREFIX
+ -DUSE_DL_PREFIX \
+ -DPOSIX_MISTAKE
ifeq ($(strip $(DEBUG_BIONIC_LIBC)),true)
libc_common_cflags += -DDEBUG