termux-packages/packages/cmus/checks.patch
Alain Kalker 0209a40e1c New packages: cmus-2.7.1, dependencies: opusfile-0.8, libcue-2.1.0 (#844)
* New package: cmus-2.7.1

* New package: libcue-2.1.0

Dependency of cmus

* New package: opusfile-0.8
2017-03-24 00:55:30 +01:00

14 lines
492 B
Diff

--- ./scripts/checks.sh.orig 2015-07-13 10:00:56.000000000 +0000
+++ ./scripts/checks.sh 2017-03-08 01:07:20.393468934 +0000
@@ -450,8 +450,8 @@
__exe=`tmp_file prog`
echo "$1" > $__src || exit 1
shift
- __cmd="$CC $__src -o $__exe $CFLAGS $LDFLAGS $@"
- $CC $__src -o $__exe $CFLAGS $LDFLAGS "$@" 2>/dev/null
+ __cmd="$CC $__src -o $__exe $CFLAGS $CPPFLAGS $LDFLAGS $@"
+ $CC $__src -o $__exe $CFLAGS $CPPFLAGS $LDFLAGS "$@" 2>/dev/null
;;
cxx)
__src=`tmp_file prog.cc`