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)