mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-12 07:42:00 +00:00
Add runtime FORTIFY support
Gingerbread libc.a missing symbols
This commit is contained in:
@@ -11,12 +11,6 @@ ifndef B_SHARED
|
||||
# Fix static variables' ctor/dtor when using LTO
|
||||
# See: https://github.com/android/ndk/issues/1461
|
||||
APP_LDFLAGS += -T jni/lto_fix.lds
|
||||
ifneq ($(TARGET_ARCH),arm64)
|
||||
ifneq ($(TARGET_ARCH),x86_64)
|
||||
# Disable fortify on static 32-bit targets
|
||||
APP_CFLAGS += -D_FORTIFY_SOURCE=0 -Wno-macro-redefined
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
# Busybox should use stock libc.a
|
||||
|
||||
Reference in New Issue
Block a user