head	1.1;
access;
symbols;
locks; strict;
comment	@# @;


1.1
date	2013.03.10.13.43.35;	author svnexp;	state Exp;
branches;
next	;


desc
@@


1.1
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/313772
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@
$FreeBSD: head/lang/newlisp-devel/files/patch-makefile_bsd 313758 2013-03-09 21:28:49Z olgeni $

--- makefile_bsd.orig
+++ makefile_bsd
@@@@ -6,14 +6,12 @@@@
 
 # the option -fno-strict-aliasing may not be available on some BSD versions 
 
-CFLAGS = -m32 -Wall -Wno-uninitialized -fno-strict-aliasing -O2 -c -g -DREADLINE -D_BSD
+CFLAGS += -m32 -c -DREADLINE -D_BSD -DFFI
 # or without readline lib
 #CFLAGS = -m32 -Wall -Wno-uninitialized -Wno-strict-aliasing -O2 -c -g -D_BSD
 
-CC = gcc
-
 default: $(OBJS)
-	$(CC) $(OBJS) -m32 -g -lm -lreadline -lncurses -o newlisp
+	$(CC) $(LDFLAGS) $(OBJS) -m32 -lm -lreadline -lncurses -lffi -o newlisp
 # or without readline lib
 #	$(CC) $(OBJS) -m32 -g -lm -o newlisp
 	strip newlisp
@
