1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

Change Imake.tmpl and FreeBSD.cf. Imake programs will now use the system

CFLAGS instead of the predefined default (-O2)

Submitted by:	Jeremy Lea <reg@shale.csir.co.za>
This commit is contained in:
Jean-Marc Zucconi 1999-11-25 02:31:33 +00:00
parent 35c627dae7
commit 14a2571fde
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=23310

20
x11/XFree86/files/patch-b Normal file
View File

@ -0,0 +1,20 @@
--- config/cf/Imake.tmpl.orig Sat Jan 9 15:18:57 1999
+++ config/cf/Imake.tmpl Thu Nov 25 02:31:28 1999
@@ -1150,7 +1150,7 @@
CXXOPTIONS = CplusplusOptions
CXXINCLUDES = $(INCLUDES) $(TOP_INCLUDES) $(CXXEXTRA_INCLUDES)
CXXDEFINES = $(CXXINCLUDES) $(CXXSTD_DEFINES) $(THREADS_CXXDEFINES) $(CXXEXTRA_DEFINES) $(DEFINES)
- CXXFLAGS = $(CXXDEBUGFLAGS) $(CXXOPTIONS) $(THREADS_CXXFLAGS) $(CXXDEFINES)
+ CXXFLAGS += $(CXXDEBUGFLAGS) $(CXXOPTIONS) $(THREADS_CXXFLAGS) $(CXXDEFINES)
#endif
COMPRESS = CompressCmd
GZIPCMD = GzipCmd
@@ -1321,7 +1321,7 @@
*/
ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(STD_INCLUDES)
ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(EXTRA_DEFINES) $(PROTO_DEFINES) $(THREADS_DEFINES) $(DEFINES)
- CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(THREADS_CFLAGS) $(ALLDEFINES)
+ CFLAGS += $(CDEBUGFLAGS) $(CCOPTIONS) $(THREADS_CFLAGS) $(ALLDEFINES)
LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES) $(DEPEND_DEFINES)
LDPRELIB = LdPreLib
LDPOSTLIB = LdPostLib