diff options
Diffstat (limited to 'lang/newlisp/files/patch-makefile_bsd')
-rw-r--r-- | lang/newlisp/files/patch-makefile_bsd | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/lang/newlisp/files/patch-makefile_bsd b/lang/newlisp/files/patch-makefile_bsd index 2c325c9a4221..7f13aa63789b 100644 --- a/lang/newlisp/files/patch-makefile_bsd +++ b/lang/newlisp/files/patch-makefile_bsd @@ -1,11 +1,14 @@ ---- makefile_bsd.orig 2009-06-22 04:48:53.000000000 +0400 -+++ makefile_bsd 2009-07-02 14:37:54.000000000 +0400 + +$FreeBSD$ + +--- 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 ++CFLAGS += -m32 -c -DREADLINE -D_BSD -DFFI # or without readline lib #CFLAGS = -m32 -Wall -Wno-uninitialized -Wno-strict-aliasing -O2 -c -g -D_BSD @@ -13,7 +16,7 @@ - default: $(OBJS) - $(CC) $(OBJS) -m32 -g -lm -lreadline -lncurses -o newlisp -+ $(CC) $(OBJS) -m32 -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 |