mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-01 09:00:46 +00:00
4462e73306
Including mipsasm.o in mips_gnu prevents builds with plugin configurations lacking libopcode (e.g. emscripten / static.nogpl) from working properly.
17 lines
362 B
Makefile
17 lines
362 B
Makefile
# capstone
|
|
|
|
OBJ_MIPSCS=asm_mips_cs.o
|
|
OBJ_MIPSCS+=../arch/mips/mipsasm.o
|
|
|
|
include ${CURDIR}capstone.mk
|
|
|
|
STATIC_OBJ+=${OBJ_MIPSCS}
|
|
TARGET_MIPSCS=asm_mips_cs.${EXT_SO}
|
|
|
|
ifeq ($(WITHPIC),1)
|
|
ALL_TARGETS+=${TARGET_MIPSCS}
|
|
${TARGET_MIPSCS}: ${OBJ_MIPSCS}
|
|
${CC} $(call libname,asm_mips_cs) ${LDFLAGS} ${CFLAGS} \
|
|
-o ${TARGET_MIPSCS} ${OBJ_MIPSCS} ${CS_LDFLAGS}
|
|
endif
|