python-texttable: update to 1.3.1
[void-packages.git] / srcpkgs / radare2 / patches / trust-cc.patch
blobfc9c3c6e3559d50b09287309f286133d3f032793
1 --- configure.orig
2 +++ configure
3 @@ -330,10 +330,6 @@
4 COMPILER=CC
5 printf "checking for c compiler... "
6 HAVE_LANG_C=1
7 -if [ "${CROSSBUILD}" = 1 ]; then
8 - (command -v ${HOST}-${CC} >/dev/null 2>&1)
9 - if [ $? = 0 ]; then CC="${HOST}-${CC}"; fi
10 -fi
11 echo "int main(int argc, char **argv){return 0;}" > test.c
12 (exec ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} test.c >/dev/null 2>&1)
13 if [ $? = 0 ]; then echo ${CC}; else