1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/games/bzflag/files/patch-Make-common
Maxim Sobolev ab678682d5 Unbrore with threaded Mesa.
PR:		29594
Submitted by:	Patrick Li <pat@databits.net>
2001-08-15 07:09:40 +00:00

47 lines
1.2 KiB
Plaintext

--- Make-common.orig Wed Feb 14 03:34:09 2001
+++ Make-common Fri Aug 10 01:04:44 2001
@@ -33,7 +33,7 @@
#
# C options
#
-CFLAGS = $(LCFLAGS) $(PCFLAGS) $(GCFLAGS) $(COPTIMIZER) $(MKDEPOPT) $(CWOFF)
+CFLAGS = $(LCFLAGS) $(PCFLAGS) $(GCFLAGS) $(COPTIMIZER) $(MKDEPOPT) $(CWOFF) ${PTHREAD_CFLAGS}
LCFLAGS = $(LCDEFS) $(LCINCS) $(LCOPTS)
PCFLAGS = $(PCDEFS) $(PCINCS) $(PCOPTS)
GCFLAGS = $(GCDEFS) $(GCINCS) $(GCOPTS)
@@ -51,7 +51,7 @@
#
# C++ options
#
-CXXFLAGS = $(LCXXFLAGS) $(PCXXFLAGS) $(GCXXFLAGS) $(CXXOPTIMIZER) $(MKDEPOPT) $(CXXWOFF)
+CXXFLAGS = $(LCXXFLAGS) $(PCXXFLAGS) $(GCXXFLAGS) $(CXXOPTIMIZER) $(MKDEPOPT) $(CXXWOFF) ${PTHREAD_CFLAGS}
LCXXFLAGS = $(LCXXDEFS) $(LCXXINCS) $(LCXXOPTS)
PCXXFLAGS = $(PCXXDEFS) $(PCXXINCS) $(PCXXOPTS)
GCXXFLAGS = $(GCXXDEFS) $(GCXXINCS) $(GCXXOPTS)
@@ -69,7 +69,7 @@
#
# ld options
#
-LDFLAGS = $(LDOPTS) $(LDLIBS)
+LDFLAGS = $(LDOPTS) $(LDLIBS) ${PTHREAD_LIBS}
LDOPTS = $(LLDOPTS) $(PLDOPTS) $(GLDOPTS)
LDLIBS = $(LLDLIBS) $(PLDLIBS) $(GLDLIBS)
@@ -167,13 +167,13 @@
#
# default to optimized build
#
-ifdef DEBUG
+.ifdef DEBUG
COPTIMIZER = $(CDEBUG)
CXXOPTIMIZER = $(CXXDEBUG)
-else
+.else
COPTIMIZER = $(COPT)
CXXOPTIMIZER = $(CXXOPT)
-endif
+.endif
#
# slurp up configuration