mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Fix build on -current.
This commit is contained in:
parent
7cce021cfc
commit
a5e80c1550
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=365060
@ -5,7 +5,7 @@
|
||||
# trouble with any of the other source modules.
|
||||
#
|
||||
-CCFLAGS=-c
|
||||
+CCFLAGS=-c $(CFLAGS)
|
||||
+CCFLAGS=-c $(CFLAGS) ${CPPFLAGS}
|
||||
#
|
||||
# On some systems, you can use LIBC=-lc_s to make the program smaller by
|
||||
# linking to a shared library.
|
||||
@ -21,7 +21,7 @@
|
||||
|
||||
Eval$(EXE): $(OBJFILES)
|
||||
- $(CC) -o Eval $(OBJFILES) $(LIBM) $(LIBC)
|
||||
+ $(CC) -o Eval $(OBJFILES) $(LIBM) $(LIBC) $(LIBREADLINE)
|
||||
+ $(CC) -o Eval $(OBJFILES) $(LIBM) $(LIBC) $(LIBREADLINE) ${LDFLAGS}
|
||||
chmod 755 Eval
|
||||
|
||||
eval: Eval$(EXE)
|
||||
|
Loading…
Reference in New Issue
Block a user