termux-packages/packages/ed/configure.patch
Oliver Schmidhauser 1d740dea04 Add ed package (#607)
* Add ed package

Fixes #606

* change ed url to main mirror
2016-12-23 08:59:56 +01:00

20 lines
408 B
Diff

diff --git a/configure b/configure
index 50f3cad..31256c2 100755
--- a/configure
+++ b/configure
@@ -21,10 +21,10 @@ datarootdir='$(prefix)/share'
infodir='$(datarootdir)/info'
mandir='$(datarootdir)/man'
program_prefix=
-CC=gcc
-CPPFLAGS=
-CFLAGS='-Wall -W -O2'
-LDFLAGS=
+CC?=gcc
+CPPFLAGS?=
+CFLAGS?='-Wall -W -O2'
+LDFLAGS?=
# checking whether we are using GNU C.
${CC} --version > /dev/null 2>&1