mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-01 08:30:12 +00:00
20 lines
417 B
Diff
20 lines
417 B
Diff
--- a/configure
|
|
+++ b/configure
|
|
@@ -21,11 +21,11 @@
|
|
datarootdir='$(prefix)/share'
|
|
infodir='$(datarootdir)/info'
|
|
mandir='$(datarootdir)/man'
|
|
-CXX=g++
|
|
-CPPFLAGS=
|
|
-CXXFLAGS='-Wall -W -O2'
|
|
-LDFLAGS=
|
|
-LIBS='-llz -lpthread'
|
|
+CXX?=g++
|
|
+CPPFLAGS?=
|
|
+CXXFLAGS?='-Wall -W -O2'
|
|
+LDFLAGS?=
|
|
+LIBS='-llz'
|
|
|
|
# checking whether we are using GNU C++.
|
|
/bin/sh -c "${CXX} --version" > /dev/null 2>&1 || { CXX=c++ ; CXXFLAGS=-O2 ; }
|