From 3a7fb48bf845afe4d543a2c6bb107ee2a9b46b94 Mon Sep 17 00:00:00 2001 From: Bruce Beare Date: Thu, 9 Feb 2012 11:08:16 -0800 Subject: gcc 4.6: don't reorder functions Change-Id: I7000e8c7ca64c63c8f6cb394261eddc6e3b7ed3a Signed-off-by: Bruce Beare --- Android.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Android.mk b/Android.mk index 3f57042..ae94276 100644 --- a/Android.mk +++ b/Android.mk @@ -30,7 +30,7 @@ LOCAL_CFLAGS := \ -Wall -Wmissing-prototypes -Wunused -Wshadow \ -Wpointer-arith -falign-jumps=1 -falign-loops=1 \ -falign-functions=1 -Wundef -LOCAL_CFLAGS += -m32 -O2 -fno-builtin -nostdinc +LOCAL_CFLAGS += -m32 -O2 -fno-builtin -nostdinc -fno-reorder-functions -fno-stack-protector LOCAL_C_INCLUDES := $(LOCAL_PATH)/stage1 @@ -87,7 +87,7 @@ LOCAL_CFLAGS := \ -Wpointer-arith -falign-jumps=1 -falign-loops=1 \ -falign-functions=1 -Wundef -LOCAL_CFLAGS += -m32 -Os -fno-builtin -nostdinc +LOCAL_CFLAGS += -m32 -Os -fno-builtin -nostdinc -fno-reorder-functions -fno-stack-protector LOCAL_CFLAGS += -DHAVE_CONFIG_H -DFSYS_EXT2FS=1 -DSUPPORT_SERIAL=1 @@ -124,7 +124,7 @@ LOCAL_CFLAGS := \ -Wpointer-arith -falign-jumps=1 -falign-loops=1 \ -falign-functions=1 -Wundef -LOCAL_CFLAGS += -m32 -Os -fno-builtin -nostdinc +LOCAL_CFLAGS += -m32 -Os -fno-builtin -nostdinc -fno-reorder-functions -fno-stack-protector LOCAL_CFLAGS += -DHAVE_CONFIG_H -DFSYS_EXT2FS=1 -DSUPPORT_SERIAL=1 -- cgit v1.2.3