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

View File

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