1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Fix build on -current (link with ${CXX} for C++ code)

This commit is contained in:
Kris Kennaway 2002-09-08 22:59:10 +00:00
parent ff53534b5a
commit 446f68df26
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=65862

View File

@ -0,0 +1,20 @@
--- Makefile.in.orig Sun Sep 8 15:05:57 2002
+++ Makefile.in Sun Sep 8 15:05:52 2002
@@ -271,7 +271,7 @@
hello_C: $(hello_C_OBJECTS) $(hello_C_DEPENDENCIES)
@rm -f hello_C
- $(LINK) $(hello_C_LDFLAGS) $(hello_C_OBJECTS) $(hello_C_LDADD) $(LIBS)
+ $(CXXLINK) $(hello_C_LDFLAGS) $(hello_C_OBJECTS) $(hello_C_LDADD) $(LIBS)
keyboard: $(keyboard_OBJECTS) $(keyboard_DEPENDENCIES)
@rm -f keyboard
@@ -279,7 +279,7 @@
okay: $(okay_OBJECTS) $(okay_DEPENDENCIES)
@rm -f okay
- $(LINK) $(okay_LDFLAGS) $(okay_OBJECTS) $(okay_LDADD) $(LIBS)
+ $(CXXLINK) $(okay_LDFLAGS) $(okay_OBJECTS) $(okay_LDADD) $(LIBS)
.cpp.o:
$(CXXCOMPILE) -c $<
.cpp.lo: