summaryrefslogtreecommitdiffstats
path: root/libc/Android.mk
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2012-06-12 15:59:04 -0700
committerNick Kralevich <nnk@google.com>2012-06-13 09:14:30 -0700
commit9b549c39c938f54680f282c21e6885f53254bfb0 (patch)
tree8bb4a40d6d9c7f265a58954572097eefa1c2da5e /libc/Android.mk
parentc2f1d215b1786520fa8c371caa97f062e0bfb513 (diff)
downloadbionic-9b549c39c938f54680f282c21e6885f53254bfb0.zip
bionic-9b549c39c938f54680f282c21e6885f53254bfb0.tar.gz
bionic-9b549c39c938f54680f282c21e6885f53254bfb0.tar.bz2
FORTIFY_SOURCE: add sprintf / vsprintf support
sprintf FORTIFY_SOURCE protections are not available on clang. Also add various __attribute__s to stdio functions. Change-Id: I936d1f9e55fe53a68885c4524b7b59e68fed218d
Diffstat (limited to 'libc/Android.mk')
-rw-r--r--libc/Android.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/Android.mk b/libc/Android.mk
index c507457..f90520e 100644
--- a/libc/Android.mk
+++ b/libc/Android.mk
@@ -141,7 +141,9 @@ libc_common_src_files := \
stdio/wbuf.c \
stdio/wsetup.c \
stdio/__snprintf_chk.c \
+ stdio/__sprintf_chk.c \
stdio/__vsnprintf_chk.c \
+ stdio/__vsprintf_chk.c \
stdlib/_rand48.c \
stdlib/assert.c \
stdlib/atexit.c \