fixed a small typo
[packages/cyclone.git] / cyclone-options.patch
CommitLineData
2d6c24c4
MM
1diff -ur cyclone-/bin/genfiles/Makefile cyclone/bin/genfiles/Makefile
2--- cyclone-/bin/genfiles/Makefile Mon Nov 19 22:33:42 2001
3+++ cyclone/bin/genfiles/Makefile Wed Dec 12 02:19:21 2001
4@@ -1,8 +1,5 @@
5 include ../../Makefile.inc
6
7-OLDCFLAGS := $(CFLAGS)
8-CFLAGS += -O3
9-
10 # I don't know why these need to be repeated here, but they do
11 CYC_LIB_PATH=$(CYCDIR)/bin/cyc-lib
12 CYC_BIN_PATH=$(CYCDIR)/bin
13@@ -88,7 +85,7 @@
14 @(echo "char *Cdef_inc_path = \"$(INC_INSTALL)\";"; \
15 echo "char *Carch = \"$(ARCH)\";"; \
16 echo "char *Cdef_lib_path = \"$(LIB_INSTALL)\";"; \
17- echo "char *Ccflags = \"$(OLDCFLAGS)\";"; \
18+ echo "char *Ccflags = \"$(DEFAULT_CFLAGS)\";"; \
19 echo "char *Ccomp = \"$(CC)\";") > $@
20
21 clean_arch:
22@@ -103,7 +100,7 @@
23 # specific file rules
24
25 $(ARCH)/src/%.o: $(ARCH)/src/%.c
26- $(CC) $(OLDCFLAGS) -c -o $@ $<
27+ $(CC) $(CFLAGS) -c -o $@ $<
28
29 # general rules
30
31diff -ur cyclone-/src/Makefile cyclone/src/Makefile
32--- cyclone-/src/Makefile Mon Nov 19 22:33:54 2001
33+++ cyclone/src/Makefile Wed Dec 12 01:40:06 2001
34@@ -72,7 +72,7 @@
35 @(echo "char *Carch = \"$(ARCH)\";"; \
36 echo "char *Cdef_inc_path = \"$(INC_INSTALL)\";"; \
37 echo "char *Cdef_lib_path = \"$(LIB_INSTALL)\";"; \
38- echo "char *Ccflags = \"$(CFLAGS)\";"; \
39+ echo "char *Ccflags = \"$(DEFAULT_CFLAGS)\";"; \
40 echo "char *Ccomp = \"$(CC)\";") > $@
41
42 cyclone.$(O): version.h
43diff -ur cyclone-/src/cyclone.cyc cyclone/src/cyclone.cyc
44--- cyclone-/src/cyclone.cyc Mon Nov 19 22:33:54 2001
45+++ cyclone/src/cyclone.cyc Wed Dec 12 01:52:21 2001
46@@ -820,6 +820,12 @@
47 new $("-pg",false,"",
48 new Flag_spec(add_ccarg),
49 "Compile for profiling with gprof"),
50+ new $("-m",true,"whatever",
51+ new Flag_spec(add_cpparg),
52+ "Passed to C compiler"),
53+ new $("-f",true,"whatever",
54+ new Flag_spec(add_cpparg),
55+ "Passed to C compiler"),
56 new $("-pa",false,"",
57 new Unit_spec(set_pa),
58 "Compile for profiling with aprof"),
This page took 0.101263 seconds and 4 git commands to generate.