am b32cc032
: Merge "Use arch-specific variable to set up the x86 ld flags."
* commit 'b32cc032030e7a9f50b28d6dba5a40a38e6e76cf': Use arch-specific variable to set up the x86 ld flags.
This commit is contained in:
commit
2275047684
@ -18,9 +18,8 @@ include $(CLEAR_VARS)
|
|||||||
LOCAL_LDFLAGS := -Wl,--exclude-libs=libgcc.a
|
LOCAL_LDFLAGS := -Wl,--exclude-libs=libgcc.a
|
||||||
|
|
||||||
# for x86, exclude libgcc_eh.a for the same reasons as above
|
# for x86, exclude libgcc_eh.a for the same reasons as above
|
||||||
ifeq ($(TARGET_ARCH),$(filter $(TARGET_ARCH),x86 x86_64))
|
LOCAL_LDFLAGS_x86 := -Wl,--exclude-libs=libgcc_eh.a
|
||||||
LOCAL_LDFLAGS += -Wl,--exclude-libs=libgcc_eh.a
|
LOCAL_LDFLAGS_x86_64 := $(LOCAL_LDFLAGS_x86)
|
||||||
endif
|
|
||||||
|
|
||||||
LOCAL_SRC_FILES:= libdl.c
|
LOCAL_SRC_FILES:= libdl.c
|
||||||
LOCAL_CFLAGS := -Wall -Wextra -Werror
|
LOCAL_CFLAGS := -Wall -Wextra -Werror
|
||||||
|
Loading…
Reference in New Issue
Block a user