aboutsummaryrefslogtreecommitdiffstats
path: root/devel/stlport
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2002-03-05 16:00:18 +0800
committermbr <mbr@FreeBSD.org>2002-03-05 16:00:18 +0800
commit6cbb5471d901a6614169fc03c2fa03c490d8004d (patch)
tree58962ae5067402f74e84433c126b96a6877cf4b9 /devel/stlport
parentc7dc96338d945d05e8dbd5ea869147e370bff4cd (diff)
downloadfreebsd-ports-gnome-6cbb5471d901a6614169fc03c2fa03c490d8004d.tar.gz
freebsd-ports-gnome-6cbb5471d901a6614169fc03c2fa03c490d8004d.tar.zst
freebsd-ports-gnome-6cbb5471d901a6614169fc03c2fa03c490d8004d.zip
The tests are only working if compiled without -O. With -O
we get a bus error. This may be true for other code who uses the STLport.
Diffstat (limited to 'devel/stlport')
-rw-r--r--devel/stlport/files/patch-tests::eh::gcc-freebsd.mak14
1 files changed, 14 insertions, 0 deletions
diff --git a/devel/stlport/files/patch-tests::eh::gcc-freebsd.mak b/devel/stlport/files/patch-tests::eh::gcc-freebsd.mak
new file mode 100644
index 000000000000..b90b5f17195b
--- /dev/null
+++ b/devel/stlport/files/patch-tests::eh::gcc-freebsd.mak
@@ -0,0 +1,14 @@
+--- test/eh/gcc-freebsd.mak.orig Tue Mar 5 08:57:04 2002
++++ test/eh/gcc-freebsd.mak Tue Mar 5 08:57:34 2002
+@@ -40,9 +40,9 @@
+ # dwa 12/22/99 -- had to turn off -ansi flag so we could use SGI IOSTREAMS
+ # also, test_slist won't compile with -O3/-O2 when targeting PPC. It fails
+ # in the assembler with 'invalid relocation type'
+-CXXFLAGS = -Wall -g -O ${STL_INCL} -I. ${CXX_EXTRA_FLAGS} -DEH_VECTOR_OPERATOR_NEW
++CXXFLAGS = -Wall -g ${STL_INCL} -I. ${CXX_EXTRA_FLAGS} -DEH_VECTOR_OPERATOR_NEW
+
+-D_CXXFLAGS = -Wall -g -O ${STL_INCL} -I. ${CXX_EXTRA_FLAGS} -DEH_VECTOR_OPERATOR_NEW -D_STLP_DEBUG -D_STLP_USE_STATIC_LIB
++D_CXXFLAGS = -Wall -g ${STL_INCL} -I. ${CXX_EXTRA_FLAGS} -DEH_VECTOR_OPERATOR_NEW -D_STLP_DEBUG -D_STLP_USE_STATIC_LIB
+ NOSGI_CXXFLAGS = -Wall -g -O2 ${STL_INCL} -I. ${CXX_EXTRA_FLAGS} -D_STLP_NO_OWN_IOSTREAMS -D_STLP_DEBUG_UNINITIALIZED -DEH_VECTOR_OPERATOR_NEW
+
+ check: $(TEST)