diff options
| author | David Kühling <dvdkhlng@gmx.de> | 2011-01-02 15:19:00 +0100 |
|---|---|---|
| committer | David Kühling <dvdkhlng@gmx.de> | 2011-01-02 15:19:00 +0100 |
| commit | 9aaeb4623d3ff5746e665bc17914eefd292b7dcd (patch) | |
| tree | 370db60ffdc2ef840b7d1124d5a392f93bba3c9d /quickcalc/patches | |
| download | qipackages-fork-9aaeb4623d3ff5746e665bc17914eefd292b7dcd.tar.gz | |
New OpenWrt package for GNU Octave. Experimental/probably still broken.grafted
Work in progress. Committing it as compilation seems to take forever.
Not sure whether I can finish this within a few days.
Diffstat (limited to 'quickcalc/patches')
| -rw-r--r-- | quickcalc/patches/Makefile.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/quickcalc/patches/Makefile.patch b/quickcalc/patches/Makefile.patch new file mode 100644 index 0000000..7dfc8ac --- /dev/null +++ b/quickcalc/patches/Makefile.patch @@ -0,0 +1,21 @@ +--- quickcalc-1.26/Makefile 1999-07-25 16:33:21.000000000 +0200 ++++ quickcalc-1.26m/Makefile 2010-07-23 13:13:02.888135597 +0200 +@@ -3,7 +3,8 @@ + #CPPFLAGS = -DC_DEBUG -g + + CC = gcc +-CFLAGS = -O2 -Wall ++CFLAGS+= -O2 -Wall ++LDLIBS+=$(LDFLAGS) -lm -lreadline -lncurses + SHELL = /bin/sh + + OBJS = qc.o error.o disp_ans.o text.o calc_str.o lex.yy.o +@@ -11,7 +12,7 @@ + all : qc + + qc : $(OBJS) +- $(CC) $(OBJS) -lm -lreadline -lncurses -o qc ++ $(CC) $(OBJS) $(LDLIBS) -o $(@) + + qc.o : qc.c version.h + |
