summaryrefslogtreecommitdiffstats
path: root/linker
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2012-07-16 09:43:14 -0700
committerElliott Hughes <enh@google.com>2012-07-16 09:43:14 -0700
commit856512ea9c933c5fe0fff14ee123496730df6b19 (patch)
tree9b346559570609f1ac2bdf63dbeaf6ab30f78c46 /linker
parentfabddfe833097ecca92b3547a725879234780468 (diff)
downloadbionic-856512ea9c933c5fe0fff14ee123496730df6b19.zip
bionic-856512ea9c933c5fe0fff14ee123496730df6b19.tar.gz
bionic-856512ea9c933c5fe0fff14ee123496730df6b19.tar.bz2
Use std=gnu99 for the dynamic linker as well as libc.
Change-Id: I76dd78576c5af6eb6282555f069647b6260edc31
Diffstat (limited to 'linker')
-rw-r--r--linker/Android.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/linker/Android.mk b/linker/Android.mk
index a739b4f..c9d053f 100644
--- a/linker/Android.mk
+++ b/linker/Android.mk
@@ -15,7 +15,8 @@ LOCAL_LDFLAGS := -shared
LOCAL_CFLAGS += -fno-stack-protector \
-Wstrict-overflow=5 \
- -fvisibility=hidden
+ -fvisibility=hidden \
+ -std=gnu99
# Set LINKER_DEBUG to either 1 or 0
#