No ld++ needed in netbsd, as ld does the collect job just fine. (I think

anyways)
This commit is contained in:
deraadt 1993-06-06 07:20:37 +00:00
parent 276a05a454
commit d5559526ee
1 changed files with 2 additions and 3 deletions

View File

@ -13,16 +13,15 @@ CFLAGS+=-+
.endif
GXX= g++
GXXFLAGS= ${CFLAGS} -felide-constructors
LDXX= /usr/libexec/ld++
.cc.o:
$(GXX) $(GXXFLAGS) -c $(.IMPSRC)
@$(LDXX) -x -r $(.TARGET)
@$(LD) -x -r $(.TARGET)
@mv a.out $(.TARGET)
.cc.po:
$(GXX) -p $(GXXFLAGS) -c $(.IMPSRC) -o $(.TARGET)
@$(LDXX) -X -r $(.TARGET)
@$(LD) -X -r $(.TARGET)
@mv a.out $(.TARGET)
#