summaryrefslogtreecommitdiff
path: root/lang/newlisp/files/patch-makefile_bsd
blob: aaa804c2207f26c5ba13ab6378c550f0b0d91f42 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- makefile_bsd.orig	Wed Sep 13 17:32:12 2006
+++ makefile_bsd	Wed Sep 13 17:32:35 2006
@@ -4,16 +4,16 @@
 OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
 	nl-sock.o nl-import.o nl-xml.o nl-web.o nl-matrix.o nl-debug.o pcre.o
 
-CFLAGS = -Wall -Wno-uninitialized -O2 -c -g -DREADLINE -D_BSD
+CFLAGS += -c -DREADLINE -D_BSD
 # for netBSD use following line
 #CFLAGS = -Wall -Wno-uninitialized -O2 -c -g -D_BSD
 
-CC = gcc
+#CC = gcc
 
 default: $(OBJS)
-	$(CC) $(OBJS) -g -lm -lreadline -lncurses -o newlisp
+	$(CC) $(OBJS) -lm -lreadline -lncurses -o newlisp
 # for netBSD use following line
-#	$(CC) $(OBJS) -g -lm -o newlisp
+#	$(CC) $(OBJS) -lm -o newlisp
 	strip newlisp
 
 .c.o: