summaryrefslogtreecommitdiffstats
path: root/devel/stlport
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2002-09-22 13:19:33 +0000
committernetchild <netchild@FreeBSD.org>2002-09-22 13:19:33 +0000
commit376d74889f1a39bc7ac1df27f84baa45c736c9f6 (patch)
tree79e519b5fd1cdaaafa100971cd36298731b0c844 /devel/stlport
parente1c6597e843be54935dbb78e5d88820b6f6a7f31 (diff)
downloadFreeBSD-ports-376d74889f1a39bc7ac1df27f84baa45c736c9f6.zip
FreeBSD-ports-376d74889f1a39bc7ac1df27f84baa45c736c9f6.tar.gz
This change only affects the icc part of stlport:
- link with the threaded libc (the gcc case does this already) Submitted by: marius@alchemy.franken.de Approved by: kris
Diffstat (limited to 'devel/stlport')
-rw-r--r--devel/stlport/files/src::icc-freebsd.mak4
-rw-r--r--devel/stlport/files/test::eh::icc-freebsd.mak4
2 files changed, 4 insertions, 4 deletions
diff --git a/devel/stlport/files/src::icc-freebsd.mak b/devel/stlport/files/src::icc-freebsd.mak
index 94c448b..619af0e 100644
--- a/devel/stlport/files/src::icc-freebsd.mak
+++ b/devel/stlport/files/src::icc-freebsd.mak
@@ -18,7 +18,7 @@ LIB_BASENAME = libstlport_icc
#
#
LINK=ar cr
-DYN_LINK=$(CXX) -Qoption,ld,-BOOTSTRAPSTLPORT -shared -o
+DYN_LINK=$(CXX) -Qoption,ld,-BOOTSTRAPSTLPORT -mt -shared -o
OBJEXT=o
DYNEXT=so
@@ -38,7 +38,7 @@ include common_macros.mak
WARNING_FLAGS= -w1
-CXXFLAGS_COMMON = -I${STLPORT_DIR} ${WARNING_FLAGS}
+CXXFLAGS_COMMON = -I${STLPORT_DIR} ${WARNING_FLAGS} ${PTHREAD_CFLAGS} -D_REENTRANT -mt
CXXFLAGS_RELEASE_static = $(CXXFLAGS_COMMON) -O -ip -axiMKW
CXXFLAGS_RELEASE_dynamic = $(CXXFLAGS_COMMON) -O -ip -axiMKW -KPIC
diff --git a/devel/stlport/files/test::eh::icc-freebsd.mak b/devel/stlport/files/test::eh::icc-freebsd.mak
index ec8da6c..9494bae 100644
--- a/devel/stlport/files/test::eh::icc-freebsd.mak
+++ b/devel/stlport/files/test::eh::icc-freebsd.mak
@@ -29,8 +29,8 @@ D_TEST_EXE = ./eh_test_d
TEST = ./eh_test.out
D_TEST = ./eh_test_d.out
-CXXFLAGS= -w1 -g -O ${STL_INCL} -I. ${CXX_EXTRA_FLAGS} -DEH_VECTOR_OPERATOR_NEW -DEH_DELETE_HAS_THROW_SPEC
-D_CXXFLAGS = -w1 -g -O ${STL_INCL} -I. ${CXX_EXTRA_FLAGS} -DEH_VECTOR_OPERATOR_NEW -DEH_DELETE_HAS_THROW_SPEC -D_STLP_DEBUG -D_STLP_USE_STATIC_LIB
+CXXFLAGS= $(PTHREAD_CFLAGS) -D_REENTRANT -mt -w1 -g -O ${STL_INCL} -I. ${CXX_EXTRA_FLAGS} -DEH_VECTOR_OPERATOR_NEW -DEH_DELETE_HAS_THROW_SPEC
+D_CXXFLAGS = $(PTHREAD_CFLAGS) -D_REENTRANT -mt -w1 -g -O ${STL_INCL} -I. ${CXX_EXTRA_FLAGS} -DEH_VECTOR_OPERATOR_NEW -DEH_DELETE_HAS_THROW_SPEC -D_STLP_DEBUG -D_STLP_USE_STATIC_LIB
check: $(TEST)
OpenPOWER on IntegriCloud