No ld++ needed in netbsd, as ld does the collect job just fine. (I think
anyways)
This commit is contained in:
parent
276a05a454
commit
d5559526ee
@ -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)
|
||||
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user