From 95a2d33d12a8c74caa7aa8654c42421223d17638 Mon Sep 17 00:00:00 2001 From: 1q23lyc45 <174172451+1q23lyc45@users.noreply.github.com> Date: Sat, 28 Dec 2024 00:01:54 +0000 Subject: [PATCH] fix Android.mk --- native/src/base/Android.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/src/base/Android.mk b/native/src/base/Android.mk index a2caaa210..bb567551a 100644 --- a/native/src/base/Android.mk +++ b/native/src/base/Android.mk @@ -31,7 +31,7 @@ LOCAL_MODULE := libcompat LOCAL_SRC_FILES := compat/compat.cpp # Fix static variables' ctor/dtor when using LTO # See: https://github.com/android/ndk/issues/1461 -LOCAL_EXPORT_LDFLAGS := -static -T src/lto_fix.lds -Wl,--wrap=rename -Wl,--wrap=renameat +LOCAL_EXPORT_LDFLAGS := -static -Wl,--wrap=rename -Wl,--wrap=renameat # For some reason, using the hacky libc.a with x86 will trigger stack protection violation # when mixing Rust and C++ code. Disable stack protector to bypass this issue. ifeq ($(TARGET_ARCH), x86)