aboutsummaryrefslogtreecommitdiff
path: root/math/eval/files
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-08-15 22:09:25 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-08-15 22:09:25 +0000
commita5e80c155077e3d961b927a59f151fac34a38e3e (patch)
tree0550919078f77da2fd718e01cf4f735055629bef /math/eval/files
parent7cce021cfc51cd7da089137d3f4fb8ca7695bdb1 (diff)
Notes
Diffstat (limited to 'math/eval/files')
-rw-r--r--math/eval/files/patch-Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/eval/files/patch-Makefile b/math/eval/files/patch-Makefile
index 30b6cc197427..110d78ece8a2 100644
--- a/math/eval/files/patch-Makefile
+++ b/math/eval/files/patch-Makefile
@@ -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)