radare2: don't fiddle with $CC.

This commit is contained in:
Leah Neukirchen 2017-12-02 20:03:02 +01:00
parent 2c3d8d583a
commit 9d94c3f7f1
1 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,13 @@
--- configure.orig
+++ configure
@@ -330,10 +330,6 @@
COMPILER=CC
printf "checking for c compiler... "
HAVE_LANG_C=1
-if [ "${CROSSBUILD}" = 1 ]; then
- (command -v ${HOST}-${CC} >/dev/null 2>&1)
- if [ $? = 0 ]; then CC="${HOST}-${CC}"; fi
-fi
echo "int main(int argc, char **argv){return 0;}" > test.c
(exec ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} test.c >/dev/null 2>&1)
if [ $? = 0 ]; then echo ${CC}; else