]> git.pld-linux.org Git - packages/gcl.git/blob - gcl-OPT.patch
- updated URL
[packages/gcl.git] / gcl-OPT.patch
1 diff -urN gcl-2.4.0/bin/makefile gcl-2.4.0-new/bin/makefile
2 --- gcl-2.4.0/bin/makefile      Mon Dec  3 22:53:05 2001
3 +++ gcl-2.4.0-new/bin/makefile  Mon Dec  3 23:10:59 2001
4 @@ -1,5 +1,5 @@
5  DEFS   = -DUNIX
6 -CFLAGS  = $(DEFS) -I../h
7 +CFLAGS  = $(DEFS) -I../h $(OPTFLAGS)
8  CC=cc
9  APPEND=../bin/append
10  
11 diff -urN gcl-2.4.0/cmpnew/makefile gcl-2.4.0-new/cmpnew/makefile
12 --- gcl-2.4.0/cmpnew/makefile   Mon Dec  3 22:53:05 2001
13 +++ gcl-2.4.0-new/cmpnew/makefile       Mon Dec  3 23:09:53 2001
14 @@ -14,7 +14,7 @@
15  
16  COMPILE_FILE=$(PORTDIR)/saved_gcl $(PORTDIR) -system-p -c-file -data-file \
17         -o-file nil -h-file -compile
18 -CFLAGS = -c -O -I../h 
19 +CFLAGS = -c -O -I../h $(OPTFLAGS)
20  
21  .lsp.c:
22         @ ../xbin/if-exists $(PORTDIR)/saved_gcl \
23 diff -urN gcl-2.4.0/dos/makefile gcl-2.4.0-new/dos/makefile
24 --- gcl-2.4.0/dos/makefile      Mon Dec  3 22:53:05 2001
25 +++ gcl-2.4.0-new/dos/makefile  Mon Dec  3 23:10:45 2001
26 @@ -115,7 +115,7 @@
27  
28  DOS_ODIR=.
29  
30 -CFLAGS = -I. -I$(HDIR) $(ODIR_DEBUG)
31 +CFLAGS = -I. -I$(HDIR) $(ODIR_DEBUG) $(OPTFLAGS)
32  
33  .s.o:
34         $(CC) -c $(OFLAG) $(CFLAGS) $*.c
35 diff -urN gcl-2.4.0/gcl-tk/makefile gcl-2.4.0-new/gcl-tk/makefile
36 --- gcl-2.4.0/gcl-tk/makefile   Mon Dec  3 22:53:05 2001
37 +++ gcl-2.4.0-new/gcl-tk/makefile       Mon Dec  3 23:10:05 2001
38 @@ -123,7 +123,7 @@
39  # end makedefs
40  
41  
42 -CFLAGS1=$(CFLAGS) -I../o -I../h ${TK_INCLUDE} ${TCL_INCLUDE} ${TK_XINCLUDES}
43 +CFLAGS1=$(CFLAGS) -I../o -I../h ${TK_INCLUDE} ${TCL_INCLUDE} ${TK_XINCLUDES} $(OPTFLAGS) 
44  
45  
46  all: gcltksrv   tkl.o tinfo.o  demos/gc-monitor.o gcltkaux
47 diff -urN gcl-2.4.0/go/makefile gcl-2.4.0-new/go/makefile
48 --- gcl-2.4.0/go/makefile       Mon Dec  3 22:53:05 2001
49 +++ gcl-2.4.0-new/go/makefile   Mon Dec  3 23:12:08 2001
50 @@ -18,14 +18,14 @@
51  
52  AUX_INFO=-aux-info $*.X
53  .c.o:
54 -       $(CC) -c $(OFLAG) $(CFLAGS) $*.c $(AUX_INFO)
55 +       $(CC) -c $(OFLAG) $(CFLAGS) $(OPTFLAGS) $*.c $(AUX_INFO)
56  .d.o:
57         $(DPP) $*
58 -       $(CC) -c $(OFLAG) $(CFLAGS) $*.c $(AUX_INFO)
59 +       $(CC) -c $(OFLAG) $(CFLAGS) $(OPTFLAGS) $*.c $(AUX_INFO)
60         rm $*.c
61  
62  .c.ini:
63 -       $(CC) -DNO_DEFUN $(CFLAGS) -E $*.c | grab_defs > $*.ini
64 +       $(CC) -DNO_DEFUN $(CFLAGS) $(OPTFLAGS) -E $*.c | grab_defs > $*.ini
65  
66  .d.ini:
67         $(DPP) $*
68 diff -urN gcl-2.4.0/lsp/makefile gcl-2.4.0-new/lsp/makefile
69 --- gcl-2.4.0/lsp/makefile      Mon Dec  3 22:53:05 2001
70 +++ gcl-2.4.0-new/lsp/makefile  Mon Dec  3 23:10:38 2001
71 @@ -16,7 +16,7 @@
72  
73  COMPILE_FILE=$(PORTDIR)/saved_gcl $(PORTDIR) -system-p -c-file -data-file \
74         -o-file nil -h-file -compile
75 -CFLAGS = -c -O -I../h 
76 +CFLAGS = -c -O -I../h $(OPTFLAGS)
77  
78  .lsp.c: 
79         @ ../xbin/if-exists $(PORTDIR)/saved_gcl \
80 diff -urN gcl-2.4.0/mp/makefile gcl-2.4.0-new/mp/makefile
81 --- gcl-2.4.0/mp/makefile       Mon Dec  3 22:53:05 2001
82 +++ gcl-2.4.0-new/mp/makefile   Mon Dec  3 23:11:29 2001
83 @@ -133,7 +133,7 @@
84         $(AS) $*.s -o $*.o
85  
86  .c.o:
87 -       $(CC)  -c $(OFLAG) -I../h -I. $(CFLAGS) $(ODIR_DEBUG) $*.c
88 +       $(CC)  -c $(OFLAG) -I../h -I. $(CFLAGS) $(ODIR_DEBUG) $(OPTFLAGS) $*.c
89  
90  mpi-386_no_under.o: mpi-386_no_under.s
91         gcc -traditional -c $*.s -o $*.o
92 diff -urN gcl-2.4.0/o/makefile gcl-2.4.0-new/o/makefile
93 --- gcl-2.4.0/o/makefile        Mon Dec  3 22:53:05 2001
94 +++ gcl-2.4.0-new/o/makefile    Mon Dec  3 23:13:18 2001
95 @@ -144,7 +144,7 @@
96  
97  # end makedefs
98  X11_INCLUDE=${TK_XINCLUDES} ${HAVE_X11}
99 -CFLAGS =  -I../gcl-tk -I$(HDIR) $(ODIR_DEBUG) 
100 +CFLAGS =  -I../gcl-tk -I$(HDIR) $(ODIR_DEBUG) $(OPTFLAGS)
101  
102  
103  MP     = $(HDIR)mp.h
104 diff -urN gcl-2.4.0/unixport/makefile gcl-2.4.0-new/unixport/makefile
105 --- gcl-2.4.0/unixport/makefile Mon Dec  3 22:53:05 2001
106 +++ gcl-2.4.0-new/unixport/makefile     Mon Dec  3 23:10:22 2001
107 @@ -7,7 +7,7 @@
108  MPDIR  = ../mp
109  GMP_DIR        = ../gmp/
110  
111 -CFLAGS = -c $(DEFS) -I$(HDIR)
112 +CFLAGS = -c $(DEFS) -I$(HDIR) $(OPTFLAGS)
113  LDCC    = $(CC) -g
114  LIBC   = -lc   
115  LIBS   = -lm # -lpixrect -lc
This page took 0.078662 seconds and 3 git commands to generate.