Files
claudio c18f5c64bb Now that we have a modern ports-gcc there is no need to special case
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@
2025-12-15 13:54:07 +00:00

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)