Skip to content

Commit

Permalink
pseudolinkstubs.o is constant => nuke app-tools !STUBLDLIBS!
Browse files Browse the repository at this point in the history
  • Loading branch information
anttikantee committed Jun 29, 2015
1 parent 21208e3 commit 88d4009
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
3 changes: 0 additions & 3 deletions app-tools/Makefile.app-tools
Expand Up @@ -25,8 +25,6 @@ _APP_TOOL_TARGETS:= \
.PHONY: app-tools
app-tools: $(_APP_TOOL_TARGETS)

APP_TOOLS_STUBLDLIBS := $(RUMP_STUBLDLIBS)

APP_TOOLS_MAKE := $(APP_TOOLS_DIR)/rumprun-$(APP_TOOLS_PLATFORM)-make
APP_TOOLS_CC := $(APP_TOOLS_DIR)/rumprun-$(APP_TOOLS_PLATFORM)-cc

Expand All @@ -45,7 +43,6 @@ $(APP_TOOLS_DIR)/rumprun-$(APP_TOOLS_PLATFORM)-${1}: \
-e 's#!CFLAGS!#$(BUILDRUMP_TOOL_CFLAGS)#g;' \
-e 's#!CXXFLAGS!#$(BUILDRUMP_TOOL_CXXFLAGS)#g;' \
-e 's#!OBJS_BAKE!#$(APP_TOOLS_OBJS_BAKE)#g;' \
-e 's#!STUBLDLIBS!#$(APP_TOOLS_STUBLDLIBS)#g;' \
-e 's#!LDFLAGS_BAKE!#$(LDFLAGS_BAKE)#g;' \
-e 's#!LDSCRIPT_BAKE!#$(APP_TOOLS_LDSCRIPT_BAKE)#g;'
if test -x $$<; then chmod +x $$@.tmp; fi
Expand Down
3 changes: 2 additions & 1 deletion app-tools/specs-stub.in
Expand Up @@ -5,7 +5,8 @@


*lib:
-L!BASE_DIR!/rumprun/lib --start-group -lpthread -lc --end-group !STUBLDLIBS!
-L!BASE_DIR!/rumprun/lib --start-group -lpthread -lc --end-group \
!BASE_DIR!/platform/pseudolinkstubs.o

*link:
%{m64:-m elf_x86_64;mx32:-m elf32_x86_64;m32:-m elf_i386} %:replace-outfile(-lstdc++ -lc++) %{rdynamic:}
Expand Down
4 changes: 0 additions & 4 deletions platform/Makefile.inc
Expand Up @@ -14,10 +14,6 @@ COMMONDIR:= $(abspath ../)
LDFLAGS_BAKE+= -L${BASEDIR}/${PLATFORM} -L${COREDIR}/${PLATFORM} \
-L${RUMPUSERDIR}/${PLATFORM}

LIBS_USERSTUB:= ${COMMONDIR}/pseudolinkstubs.o

RUMP_STUBLDLIBS:=${LIBS_USERSTUB}

.PHONY: ${BASEDIR}/${PLATFORM}/librumprun_base.a
${BASEDIR}/${PLATFORM}/librumprun_base.a:
( cd ${BASEDIR} \
Expand Down

0 comments on commit 88d4009

Please sign in to comment.