summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-08-22 05:02:10 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-08-22 05:02:10 +0000
commitb0578273a576d83728787091519237681e7197c6 (patch)
tree04829429a311f33aa2adab5902fc1df8a6bf0d8b
parenta0d3fb656d2dfc9d8d6f3749855baf4424ffd094 (diff)
parentf73f8d6e844c98a03e43a826ce7a5b430b0a22db (diff)
downloadandroid_external_elfutils-b0578273a576d83728787091519237681e7197c6.tar.gz
android_external_elfutils-b0578273a576d83728787091519237681e7197c6.tar.bz2
android_external_elfutils-b0578273a576d83728787091519237681e7197c6.zip
am f73f8d6e: Merge "Stop breaking the Darwin build."
* commit 'f73f8d6e844c98a03e43a826ce7a5b430b0a22db': Stop breaking the Darwin build.
-rwxr-xr-x0.153/libdw/Android.mk6
-rwxr-xr-x0.153/libdwfl/Android.mk6
-rwxr-xr-x0.153/libebl/Android.mk2
-rwxr-xr-x0.153/libelf/Android.mk6
4 files changed, 4 insertions, 16 deletions
diff --git a/0.153/libdw/Android.mk b/0.153/libdw/Android.mk
index 111ed6c6..f9c02af3 100755
--- a/0.153/libdw/Android.mk
+++ b/0.153/libdw/Android.mk
@@ -14,7 +14,7 @@
LOCAL_PATH := $(call my-dir)
-supported_platforms := linux darwin
+supported_platforms := linux
cur_platform := $(filter $(HOST_OS),$(supported_platforms))
ifdef cur_platform
@@ -135,10 +135,6 @@ LOCAL_C_INCLUDES := \
$(LOCAL_PATH)/../libdw \
$(LOCAL_PATH)/../libelf
-ifeq ($(HOST_OS),darwin)
- LOCAL_CFLAGS += -fnested-functions
-endif
-
# can't build libdw with clang
LOCAL_CLANG := false
diff --git a/0.153/libdwfl/Android.mk b/0.153/libdwfl/Android.mk
index 9d313aa0..46f3b380 100755
--- a/0.153/libdwfl/Android.mk
+++ b/0.153/libdwfl/Android.mk
@@ -14,7 +14,7 @@
LOCAL_PATH := $(call my-dir)
-supported_platforms := linux darwin
+supported_platforms := linux
cur_platform := $(filter $(HOST_OS),$(supported_platforms))
ifdef cur_platform
@@ -68,10 +68,6 @@ LOCAL_CFLAGS += -DHAVE_CONFIG_H -std=gnu99 -D_GNU_SOURCE
# to suppress the "pointer of type ‘void *’ used in arithmetic" warning
LOCAL_CFLAGS += -Wno-pointer-arith
-ifeq ($(HOST_OS),darwin)
- LOCAL_CFLAGS += -fnested-functions
-endif
-
# libdwfl is one of the few libs that will never compile with clang
LOCAL_CLANG := false
diff --git a/0.153/libebl/Android.mk b/0.153/libebl/Android.mk
index 85a88d07..b1c90047 100755
--- a/0.153/libebl/Android.mk
+++ b/0.153/libebl/Android.mk
@@ -14,7 +14,7 @@
LOCAL_PATH := $(call my-dir)
-supported_platforms := linux darwin
+supported_platforms := linux
cur_platform := $(filter $(HOST_OS),$(supported_platforms))
ifdef cur_platform
diff --git a/0.153/libelf/Android.mk b/0.153/libelf/Android.mk
index 9dd1b396..76052435 100755
--- a/0.153/libelf/Android.mk
+++ b/0.153/libelf/Android.mk
@@ -14,7 +14,7 @@
LOCAL_PATH := $(call my-dir)
-supported_platforms := linux darwin
+supported_platforms := linux
cur_platform := $(filter $(HOST_OS),$(supported_platforms))
ifdef cur_platform
@@ -150,10 +150,6 @@ LOCAL_CFLAGS += -DHAVE_CONFIG_H -std=gnu99 -D_GNU_SOURCE
# to suppress the "pointer of type ‘void *’ used in arithmetic" warning
LOCAL_CFLAGS += -Wno-pointer-arith
-ifeq ($(HOST_OS),darwin)
- LOCAL_CFLAGS += -fnested-functions
-endif
-
# can't build libelf with clang
LOCAL_CLANG := false