mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
23 lines
722 B
Plaintext
23 lines
722 B
Plaintext
|
|
$FreeBSD$
|
|
|
|
--- makefile_bsdLP64_utf8.orig
|
|
+++ makefile_bsdLP64_utf8
|
|
@@ -6,14 +6,12 @@
|
|
|
|
# the option -fno-strict-aliasing may not be available on some BSD versions
|
|
|
|
-CFLAGS = -m64 -Wall -Wno-uninitialized -fno-strict-aliasing -O2 -c -g -DREADLINE -DNEWLISP64 -DSUPPORT_UTF8 -D_BSD
|
|
+CFLAGS += -m64 -c -DREADLINE -DNEWLISP64 -DSUPPORT_UTF8 -D_BSD -DFFI
|
|
# or without readline lib
|
|
#CFLAGS = -m64 -Wall -Wno-uninitialized -Wno-strict-aliasing -O2 -c -g -DNEWLISP64 -D_BSD
|
|
|
|
-CC = gcc
|
|
-
|
|
default: $(OBJS)
|
|
- $(CC) $(OBJS) -m64 -g -lm -lreadline -lncurses -o newlisp
|
|
+ $(CC) $(LDFLAGS) $(OBJS) -m64 -lm -lreadline -lncurses -lffi -o newlisp
|
|
# or without readline lib
|
|
# $(CC) $(OBJS) -m64 -g -lm -o newlisp
|
|
strip newlisp
|