Mercurial > dwindows
diff Makefile.in @ 2946:11fd5cf0ee99
Mac/Unix: Use CXX to link dwtestoo instead of CC.
This allowed me to compile dwtestoo with a different C++ compiler than the main
library. Getting a crash when compiling the library with GCC 6, but it works
with GCC from Xcode. GCC 6 compiles dwtestoo successfully and can use the
Xcode GCC compiled library. CC=/usr/bin/gcc CXX=/usr/local/bin/gcc-6
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Mon, 02 Jan 2023 03:10:05 +0000 |
parents | ac404083dc6b |
children | 7dcd13597a4f |
line wrap: on
line diff
--- a/Makefile.in Mon Jan 02 01:44:17 2023 +0000 +++ b/Makefile.in Mon Jan 02 03:10:05 2023 +0000 @@ -203,7 +203,7 @@ $(CXX) -c $(INCPATH) $(CXXFLAGS) $(CCFLAGS) -o $@ $(srcdir)/dwtestoo.cpp dwtestoo: dwtestoo.o - $(CC) -o dwtestoo dwtestoo.o $(MLFLAGS) -l$(TARGET) $(LFLAGS) -lstdc++ + $(CXX) -o dwtestoo dwtestoo.o $(MLFLAGS) -l$(TARGET) $(LFLAGS) -lstdc++ -chmod +x $(srcdir)/mac/finishup.sh -$(srcdir)/mac/finishup.sh $(srcdir) dwtestoo