Switch libc/libcstdc++/libm to hash-style=both
Bug: http://b/19059885
Change-Id: Ie42703d91f291fd689a1cf9c35bcab5c487b9a84
(cherry picked from commit 88e777d6f4)
			
			
This commit is contained in:
		@@ -1391,7 +1391,7 @@ LOCAL_LDFLAGS := -Wl,--version-script,$(LOCAL_PATH)/version_script.txt
 | 
				
			|||||||
LOCAL_LDFLAGS_64 := -Wl,--exclude-libs,libgcc.a
 | 
					LOCAL_LDFLAGS_64 := -Wl,--exclude-libs,libgcc.a
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# TODO: This is to work around b/19059885. Remove after root cause is fixed
 | 
					# TODO: This is to work around b/19059885. Remove after root cause is fixed
 | 
				
			||||||
LOCAL_LDFLAGS_arm := -Wl,--hash-style=sysv
 | 
					LOCAL_LDFLAGS_arm := -Wl,--hash-style=both
 | 
				
			||||||
 | 
					
 | 
				
			||||||
$(eval $(call patch-up-arch-specific-flags,LOCAL_CFLAGS,libc_common_cflags))
 | 
					$(eval $(call patch-up-arch-specific-flags,LOCAL_CFLAGS,libc_common_cflags))
 | 
				
			||||||
$(eval $(call patch-up-arch-specific-flags,LOCAL_SRC_FILES,libc_arch_dynamic_src_files))
 | 
					$(eval $(call patch-up-arch-specific-flags,LOCAL_SRC_FILES,libc_arch_dynamic_src_files))
 | 
				
			||||||
@@ -1521,7 +1521,7 @@ LOCAL_CFLAGS := $(libc_common_cflags)
 | 
				
			|||||||
LOCAL_CPPFLAGS := $(libc_common_cppflags)
 | 
					LOCAL_CPPFLAGS := $(libc_common_cppflags)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# TODO: This is to work around b/19059885. Remove after root cause is fixed
 | 
					# TODO: This is to work around b/19059885. Remove after root cause is fixed
 | 
				
			||||||
LOCAL_LDFLAGS_arm := -Wl,--hash-style=sysv
 | 
					LOCAL_LDFLAGS_arm := -Wl,--hash-style=both
 | 
				
			||||||
 | 
					
 | 
				
			||||||
LOCAL_SRC_FILES := $(libstdcxx_common_src_files)
 | 
					LOCAL_SRC_FILES := $(libstdcxx_common_src_files)
 | 
				
			||||||
LOCAL_MODULE:= libstdc++
 | 
					LOCAL_MODULE:= libstdc++
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -514,7 +514,7 @@ include $(BUILD_STATIC_LIBRARY)
 | 
				
			|||||||
include $(CLEAR_VARS)
 | 
					include $(CLEAR_VARS)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# TODO: This is to work around b/19059885. Remove after root cause is fixed
 | 
					# TODO: This is to work around b/19059885. Remove after root cause is fixed
 | 
				
			||||||
LOCAL_LDFLAGS_arm := -Wl,--hash-style=sysv
 | 
					LOCAL_LDFLAGS_arm := -Wl,--hash-style=both
 | 
				
			||||||
 | 
					
 | 
				
			||||||
LOCAL_MODULE := libm
 | 
					LOCAL_MODULE := libm
 | 
				
			||||||
LOCAL_CLANG := $(libm_clang)
 | 
					LOCAL_CLANG := $(libm_clang)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user