forked from Lainports/freebsd-ports
Set MIT_PTHREADS to use the supplied mit-pthreads.
This is a workaround for PR ports/12824.
- replace one occurance of gcc with ${CC}
- don't use CFLAGS twice somewhere in mit-pthreads compilation
(There is still one place left where CFLAGS are used twice.)
11 lines
394 B
Text
11 lines
394 B
Text
--- mit-pthreads/config/Makefile.in.orig Mon Mar 2 19:44:34 1998
|
|
+++ mit-pthreads/config/Makefile.in Fri Sep 3 21:45:05 1999
|
|
@@ -5,8 +5,6 @@
|
|
#NOPIC=
|
|
#NOPROFILE=1
|
|
CPPFLAGS+= -I${.CURDIR} -I${.CURDIR}/include -I${srcdir}/include -DPTHREAD_KERNEL
|
|
-CDEBUGFLAGS= @CFLAGS@
|
|
-CFLAGS+= ${CDEBUGFLAGS}
|
|
# CFLAGS+= ${CPPFLAGS} <- done by bsd.lib.mk
|
|
CFLAGS+= ${CPPFLAGS}
|
|
LIBDIR= $(exec_prefix)/lib
|