Skip to content

Commit

Permalink
Optimize makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
logwang committed Sep 14, 2017
1 parent e81d492 commit 8cf1d45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ all:

.PHONY: clean
clean:
rm -f *.o ${TARGET}
rm -f *.o ${TARGET} ${TARGET}_epoll
2 changes: 1 addition & 1 deletion lib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8cf1d45

Please sign in to comment.