diff options
author | mbr <mbr@FreeBSD.org> | 2002-03-05 08:00:18 +0000 |
---|---|---|
committer | mbr <mbr@FreeBSD.org> | 2002-03-05 08:00:18 +0000 |
commit | 6cbb5471d901a6614169fc03c2fa03c490d8004d (patch) | |
tree | 58962ae5067402f74e84433c126b96a6877cf4b9 /devel | |
parent | c7dc96338d945d05e8dbd5ea869147e370bff4cd (diff) | |
download | FreeBSD-ports-6cbb5471d901a6614169fc03c2fa03c490d8004d.zip FreeBSD-ports-6cbb5471d901a6614169fc03c2fa03c490d8004d.tar.gz |
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')
-rw-r--r-- | devel/stlport/files/patch-tests::eh::gcc-freebsd.mak | 14 |
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 0000000..b90b5f1 --- /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) |