diff --git a/example/Makefile b/example/Makefile index e97f3a72..9b990286 100644 --- a/example/Makefile +++ b/example/Makefile @@ -21,4 +21,4 @@ all: .PHONY: clean clean: - rm -f *.o ${TARGET} + rm -f *.o ${TARGET} ${TARGET}_epoll diff --git a/lib/Makefile b/lib/Makefile index 6cd8c763..4f35cf0f 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -376,7 +376,7 @@ all: libfstack.a # externally available. # libfstack.a: machine_includes ff_api.symlist ${MHEADERS} ${MSRCS} ${HOST_OBJS} ${ASM_OBJS} ${OBJS} - ${LD} -r -o $*.ro ${ASM_OBJS} ${OBJS} + ${LD} -d -r -o $*.ro ${ASM_OBJS} ${OBJS} nm $*.ro | grep -v ' U ' | cut -d ' ' -f 3 > $*_localize_list.tmp objcopy --localize-symbols=$*_localize_list.tmp $*.ro rm $*_localize_list.tmp