mirror of
https://git.freebsd.org/ports.git
synced 2025-06-25 06:30:29 -04:00
- Make the library really threadsafe. This has been broken in CURRENT since the port exists. - Add a gcc31 workaround
22 lines
442 B
Makefile
22 lines
442 B
Makefile
--- src/gcc-freebsd.mak.orig Fri Jun 7 10:08:47 2002
|
|
+++ src/gcc-freebsd.mak Fri Jun 7 10:12:33 2002
|
|
@@ -5,8 +5,8 @@
|
|
#
|
|
# compiler
|
|
#
|
|
-CC = gcc -pthread
|
|
-CXX = c++ -pthread -fexceptions
|
|
+CC+= ${PTHREAD_CFLAGS}
|
|
+CXX+= ${PTHREAD_CFLAGS} -fexceptions
|
|
|
|
#
|
|
# Basename for libraries
|
|
@@ -19,7 +19,7 @@
|
|
#
|
|
LINK=ar cr
|
|
# 2.95 flag
|
|
-DYN_LINK=c++ -pthread -fexceptions -shared -o
|
|
+DYN_LINK=$(CXX) ${PTHREAD_LIBS} -shared -o
|
|
|
|
OBJEXT=o
|
|
DYNEXT=so
|