src/server/Makefile

changeset 415
d938228c382e
parent 287
a171da778817
child 453
4586d534f9b5
--- a/src/server/Makefile	Wed Nov 02 19:19:01 2022 +0100
+++ b/src/server/Makefile	Sun Nov 06 15:53:32 2022 +0100
@@ -71,13 +71,13 @@
 	mkdir -p $@
 
 $(MAIN_TARGET): preparation $(MAINOBJS) $(DAEMON_STARTOBJ)
-	$(CXX) -o $(MAIN_TARGET) $(MAINOBJS) $(DAEMON_STARTOBJ) -L$(BUILD_ROOT)/build/lib $(LDFLAGS)
+	$(CC) -o $(MAIN_TARGET) $(MAINOBJS) $(DAEMON_STARTOBJ) -L$(BUILD_ROOT)/build/lib $(LDFLAGS)
 
 $(LIB_WSCFG): $(CONFOBJS)
 	$(CC) $(SHLIB_LDFLAGS) -o $@ $(CONFOBJS)
 
 $(TEST_TARGET): $(TESTOBJS) $(PLUGINS)
-	$(CXX) -o $(TEST_TARGET) $(TESTOBJS) -L$(BUILD_ROOT)/build/lib $(LDFLAGS) $(TEST_PLUGIN_LDFLAGS)
+	$(CC) -o $(TEST_TARGET) $(TESTOBJS) -L$(BUILD_ROOT)/build/lib $(LDFLAGS) $(TEST_PLUGIN_LDFLAGS)
 
 
 $(PLUGINS): $(MAIN_TARGET) FORCE

mercurial