--- ./wmake/rules/FreeBSD/c++.orig Mon Apr 30 12:27:24 2007 +++ ./wmake/rules/FreeBSD/c++ Sun Aug 5 18:31:44 2007 @@ -1,21 +1,20 @@ .SUFFIXES: .C .cxx .cc .cpp -c++WARN = -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast +c++WARN = -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -CC = g++ -m32 include $(RULES)/c++$(WM_COMPILE_OPTION) ptFLAGS = -DNoRepository -ftemplate-depth-40 -c++FLAGS = $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) $(LIB_HEADER_DIRS) -fPIC -pthread +c++FLAGS = $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) $(LIB_HEADER_DIRS) -fPIC $(PTHREAD_CFLAGS) Ctoo = $(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $$SOURCE -o $@ cxxtoo = $(Ctoo) cctoo = $(Ctoo) cpptoo = $(Ctoo) -LINK_LIBS = $(c++DBUG) +LINK_LIBS = $(c++DBUG) -lstdc++ $(PTHREAD_LIBS) LINKLIBSO = $(CC) $(c++FLAGS) -shared LINKEXE = $(CC) $(c++FLAGS)