summaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-03-31 11:09:02 +0000
committerobrien <obrien@FreeBSD.org>2001-03-31 11:09:02 +0000
commit8a49d002238cfd57e6bd5d10950faad4e3447736 (patch)
tree1ebd53ab50dd307fd732fd778bf68e18cabbc0f7 /lang
parent82070db8bc62f102282b733c471d7b6c0f0d6e26 (diff)
downloadFreeBSD-ports-8a49d002238cfd57e6bd5d10950faad4e3447736.zip
FreeBSD-ports-8a49d002238cfd57e6bd5d10950faad4e3447736.tar.gz
Don't force -O2.
Diffstat (limited to 'lang')
-rw-r--r--lang/wamcc/files/patch-ab15
-rw-r--r--lang/wamcc/files/patch-ac46
2 files changed, 19 insertions, 42 deletions
diff --git a/lang/wamcc/files/patch-ab b/lang/wamcc/files/patch-ab
index 0de56c1..9f711e1 100644
--- a/lang/wamcc/files/patch-ab
+++ b/lang/wamcc/files/patch-ab
@@ -1,11 +1,8 @@
---- Builtin/Makefile.orig Fri Dec 23 18:10:02 1994
-+++ Builtin/Makefile Tue Sep 14 04:17:29 1999
-@@ -51,7 +51,7 @@
-
-
- starter.c: build_starter Makefile
+--- Builtin/Makefile.orig Fri Dec 23 10:10:02 1994
++++ Builtin/Makefile Sat Mar 31 03:02:41 2001
+@@ -18 +18 @@
+-CFLAGS = -O2 -I../src
++CFLAGS = -O -I../src
+@@ -54 +54 @@
- build_starter $(BIPS) >starter.c
+ ./build_starter $(BIPS) >starter.c
-
- build_starter: build_starter.c
- $(CC) $(CFLAGS) $(LFLAGS) -o build_starter build_starter.c
diff --git a/lang/wamcc/files/patch-ac b/lang/wamcc/files/patch-ac
index b3c3dbd..03a32c0 100644
--- a/lang/wamcc/files/patch-ac
+++ b/lang/wamcc/files/patch-ac
@@ -1,51 +1,31 @@
---- src/Makefile.orig Wed Jan 29 11:37:54 1997
-+++ src/Makefile Tue Sep 14 04:16:11 1999
-@@ -49,22 +49,22 @@
-
-
- machine.o: machine.h archi.h wam_engine.h machine.c
+--- src/Makefile.orig Wed Jan 29 03:37:54 1997
++++ src/Makefile Sat Mar 31 03:01:06 2001
+@@ -19 +19 @@
+-CFLAGS = -O2
++#CFLAGS = -O2
+@@ -52 +52 @@
- $(WCC) $(CFLAGS) -c machine.c
+ ./$(WCC) $(CFLAGS) -c machine.c
-
- wam_engine.o: machine.h archi.h wam_engine.h atom_pred.h wam_engine.c
+@@ -55 +55 @@
- $(WCC) $(CFLAGS) -c wam_engine.c
+ ./$(WCC) $(CFLAGS) -c wam_engine.c
-
- wam_engine_pp.o: machine.h archi.h wam_engine.h atom_pred.h wam_engine.c
+@@ -58 +58 @@
- $(WCC) $(CFLAGS) -DWAM_PROFILE -c -o wam_engine_pp.o wam_engine.c
+ ./$(WCC) $(CFLAGS) -DWAM_PROFILE -c -o wam_engine_pp.o wam_engine.c
-
- atom_pred.o: machine.h archi.h wam_engine.h atom_pred.h atom_pred.c
+@@ -61 +61 @@
- $(WCC) $(CFLAGS) -c atom_pred.c
+ ./$(WCC) $(CFLAGS) -c atom_pred.c
-
- debugger.o: machine.h archi.h wam_engine.h atom_pred.h debugger.c
+@@ -64 +64 @@
- $(WCC) $(CFLAGS) -c debugger.c
+ ./$(WCC) $(CFLAGS) -c debugger.c
-
- hash.o: machine.h hash.c
+@@ -67 +67 @@
- $(WCC) $(CFLAGS) -c hash.c
+ ./$(WCC) $(CFLAGS) -c hash.c
-
-
-
-@@ -79,7 +79,7 @@
-
-
- $(WCC): configure archi.def
+@@ -82 +82 @@
- configure
+ ./configure
- chmod a+x $(WCC)
-
- $(BMF): bmf.c
-@@ -95,8 +95,8 @@
- $(CC) $(CFLAGS) $(LFLAGS) -o pl2hex pl2hex.c
-
- $(COMPILER):
+@@ -98,2 +98,2 @@
- $(WCC) $(CFLAGS) -c wamcc*.c
- $(WCC) $(CFLAGS) $(LFLAGS) -s -o $(COMPILER) wamcc*.o -l$(COMPILER)
+ ./$(WCC) $(CFLAGS) -c wamcc*.c
+ ./$(WCC) $(CFLAGS) $(LFLAGS) -s -o $(COMPILER) wamcc*.o -l$(COMPILER)
-
-
-
OpenPOWER on IntegriCloud