mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
c18f5c64bb
base-clang anymore since ports-gcc has the same issues. Force the compiler down to a c++ spec that works with the code base. OK sthen@
23 lines
659 B
Plaintext
23 lines
659 B
Plaintext
Index: Makefile
|
|
--- Makefile.orig
|
|
+++ Makefile
|
|
@@ -141,7 +141,7 @@ OBJECTS = ASTCommand.o BNFAndOrJunction.o BNFBreak.o B
|
|
GrfWriteTextOnce.o HTTPRequest.o JNIExternalHandling.o md5.o\
|
|
NetSocket.o ScpStream.o UtlDate.o UtlDirectory.o\
|
|
UtlException.o UtlString.o UtlTimer.o UtlTrace.o\
|
|
- UtlXMLStream.o Workspace.o
|
|
+ UtlXMLStream.o Workspace.o generator.o
|
|
###end##"OBJECTS"
|
|
|
|
|
|
@@ -150,8 +150,7 @@ all: build lib
|
|
build: codeworker
|
|
|
|
codeworker: $(OBJECTS)
|
|
- $(CC) -c generator.cpp
|
|
- $(CC) -o codeworker $(OBJECTS) generator.o $(LFLAGS)
|
|
+ $(CXX) -o codeworker $(OBJECTS) $(LDFLAGS)
|
|
|
|
lib: $(OBJECTS)
|
|
ar -r libcodeworker.a $(OBJECTS)
|