mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
e8f0564a71
PR: ports/73604 Submitted by: Sepherosa Ziehau <sepherosa@softhome.net> Approved by: maintainer timeout (2 weeks)
28 lines
1.2 KiB
Makefile
28 lines
1.2 KiB
Makefile
--- test/eh/gcc-freebsd.mak.orig Sun Nov 2 16:58:53 2003
|
|
+++ test/eh/gcc-freebsd.mak Sat Nov 6 16:19:16 2004
|
|
@@ -34,20 +34,17 @@
|
|
D_TEST = ./eh_test_d.out
|
|
NOSGI_TEST = ./eh_test_nosgi.out
|
|
|
|
-CC = c++ -pthread
|
|
-CXX = $(CC)
|
|
-
|
|
# 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 = $(PTHREAD_CFLAGS) -D_REENTRANT -fexceptions -Wall ${STL_INCL} -I. ${CXX_EXTRA_FLAGS} -DEH_VECTOR_OPERATOR_NEW -DEH_DELETE_HAS_THROW_SPEC
|
|
|
|
-D_CXXFLAGS = -Wall -g -O ${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
|
|
+D_CXXFLAGS = $(CXXFLAGS) -g -D_STLP_DEBUG
|
|
+NOSGI_CXXFLAGS = $(CXXFLAGS) -D_STLP_NO_OWN_IOSTREAMS -D_STLP_DEBUG_UNINITIALIZED
|
|
|
|
check: $(TEST)
|
|
|
|
-LIBS = -lm
|
|
+LIBS = -lm $(PTHREAD_LIBS)
|
|
D_LIBSTLPORT = -L../../lib -lstlport_gcc_stldebug
|
|
LIBSTLPORT = -L../../lib -lstlport_gcc
|
|
|