From 70f11bd69b25bb90259a5ddc7591546a182e646d Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Mon, 6 Jul 2015 15:05:20 -0700 Subject: [PATCH] Add version_script to bionic Blueprints Change-Id: Ieddd80fa599c21414608e1d1c20ebaa2507a66ef --- libc/Android.bp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/libc/Android.bp b/libc/Android.bp index 8bddc79c4..366d5d1eb 100644 --- a/libc/Android.bp +++ b/libc/Android.bp @@ -1488,8 +1488,7 @@ cc_library { system_shared_libs: [], // Don't re-export new/delete and friends, even if the compiler really wants to. - // TODO: - //LOCAL_LDFLAGS := -Wl,--version-script,$(LOCAL_PATH)/version_script.txt + version_script: "version_script.txt", // We'd really like to do this for all architectures, but since this wasn't done // before, these symbols must continue to be exported on LP32 for binary @@ -1574,8 +1573,7 @@ cc_library_shared { allow_undefined_symbols: true, // Don't re-export new/delete and friends, even if the compiler really wants to. - // TODO: - //LOCAL_LDFLAGS := -Wl,--version-script,$(LOCAL_PATH)/version_script.txt + version_script: "version_script.txt", // Don't install on release build tags: [ @@ -1613,8 +1611,7 @@ cc_library_shared { system_shared_libs: [], // Don't re-export new/delete and friends, even if the compiler really wants to. - // TODO: - //LOCAL_LDFLAGS := -Wl,--version-script,$(LOCAL_PATH)/version_script.txt + version_script: "version_script.txt", // Don't install on release build tags: [