f000068174
PR: 126195 126197 126198 Submitted by: Stefan Ehmann <shoesoft@gmx.net> (maintainer)
31 lines
756 B
Text
31 lines
756 B
Text
--- cpp/config/Make.rules.FreeBSD.orig 2008-08-02 08:12:53.000000000 +0800
|
|
+++ cpp/config/Make.rules.FreeBSD 2008-08-02 08:14:46.000000000 +0800
|
|
@@ -27,7 +27,7 @@
|
|
endif
|
|
|
|
ifeq ($(OPTIMIZE),yes)
|
|
- CXXFLAGS += -O3 -DNDEBUG
|
|
+ CXXFLAGS += -O2 -DNDEBUG
|
|
else
|
|
CXXFLAGS += -g
|
|
endif
|
|
@@ -37,15 +37,15 @@
|
|
#
|
|
CXXLIBS =
|
|
|
|
-mkshlib = $(CXX) -shared $(LDFLAGS) -o $(1) -Wl,-h,$(2) $(3) $(4) -lc_r
|
|
+mkshlib = $(CXX) -shared $(LDFLAGS) -o $(1) -Wl,-h,$(2) $(3) $(4)
|
|
|
|
mklib = ar cr $(1) $(2)
|
|
|
|
-BASELIBS = -lIceUtil -lc_r
|
|
+BASELIBS = -lIceUtil %%PTHREAD_LIBS%% -L$(LOCALBASE)/lib -liconv
|
|
LIBS = -lIce $(BASELIBS)
|
|
|
|
-ICEUTIL_OS_LIBS =
|
|
-ICE_OS_LIBS =
|
|
+ICEUTIL_OS_LIBS = %%PTHREAD_LIBS%%
|
|
+ICE_OS_LIBS =
|
|
|
|
PLATFORM_HAS_READLINE = yes
|
|
|