termux-packages/packages/lzip/configure.patch

26 lines
545 B
Diff
Raw Normal View History

2017-05-02 11:13:33 +02:00
diff -u -r ../lzip-1.19/configure ./configure
--- ../lzip-1.19/configure 2017-04-13 12:52:40.000000000 +0200
+++ ./configure 2017-05-02 10:44:44.249358716 +0200
@@ -20,17 +20,10 @@
2016-04-14 02:10:40 +02:00
datarootdir='$(prefix)/share'
infodir='$(datarootdir)/info'
mandir='$(datarootdir)/man'
-CXX=g++
-CPPFLAGS=
-CXXFLAGS='-Wall -W -O2'
-LDFLAGS=
-
-# checking whether we are using GNU C++.
2017-05-02 11:13:33 +02:00
-/bin/sh -c "${CXX} --version" > /dev/null 2>&1 ||
- {
2016-04-14 02:10:40 +02:00
- CXX=c++
2017-05-02 11:13:33 +02:00
- CXXFLAGS=-O2
- }
+CXX?=g++
+CPPFLAGS?=
+CXXFLAGS?='-Wall -W -O2'
+LDFLAGS?=
2016-04-14 02:10:40 +02:00
# Loop over all args
args=