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.
This commit is contained in:
Martin Blapp 2002-03-05 08:00:18 +00:00
parent d29538b7be
commit 7a9c31fd2e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=55556

View file

@ -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)