Skip to content

Commit

Permalink
Made linking of buildhelp a little more robust against library problems.
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel S. Welling committed Jun 19, 2019
1 parent d144a90 commit 31738a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libcrg/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ $(CB)/buildhelp_stage1: $O/buildhelp.o $O/helpblank.o $O/slist.o \
$(PKG_MAKELIBS)
@echo "%%%% Linking buildhelp_stage1 %%%%"
@$(LD) $(LFLAGS) -o $(CB)/buildhelp_stage1 $O/buildhelp.o \
$O/helpblank.o $O/slist.o $O/helphelp.o $(LIBS)
$O/helpblank.o $O/slist.o $O/helphelp.o $(PKG_LIBS) -lm

$O/buildhelp.o: buildhelp.c
$(CC_RULE)
Expand All @@ -77,7 +77,7 @@ $O/helpblank.o: helpblank.c

$(CB)/buildhelp: $(CB)/buildhelp_stage1 $(PKG_OBJS) $(PKG_MAKELIBS)
@-rm -f $(CB)/buildhelp_stage1
$(MULTI_LD)
@$(LD) $(LFLAGS) -o $B/$(@F) $(PKG_OBJS) $(PKG_LIBS) -lm

releaseprep:
echo "no release prep from " `pwd`
Expand Down

0 comments on commit 31738a3

Please sign in to comment.