mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
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:
parent
d29538b7be
commit
7a9c31fd2e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=55556
1 changed files with 14 additions and 0 deletions
14
devel/stlport/files/patch-tests::eh::gcc-freebsd.mak
Normal file
14
devel/stlport/files/patch-tests::eh::gcc-freebsd.mak
Normal 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)
|
Loading…
Add table
Reference in a new issue