radare2: don't fiddle with $CC.
This commit is contained in:
parent
2c3d8d583a
commit
9d94c3f7f1
|
@ -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
|
Loading…
Reference in New Issue