From: Stefan Saraev Date: Fri, 14 Feb 2014 16:29:28 +0000 (+0200) Subject: support/configure.inc: fix crosscompiling X-Git-Tag: v4.1~2253^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9650e60a5cb033bdee4214afb138ea7cf200dfc9;p=thirdparty%2Ftvheadend.git support/configure.inc: fix crosscompiling --cc= can be whatever. there should be no check if generated binaries can run while crosscompiling. --- diff --git a/support/configure.inc b/support/configure.inc index 7c60fcb1d..bddc6fc14 100755 --- a/support/configure.inc +++ b/support/configure.inc @@ -265,8 +265,6 @@ int main() { EOF $CC $CFLAGS $LDFLAGS $TMPDIR/$$.c -o $TMPDIR/$$.bin $opt &> /dev/null RET=$? - [ $RET -eq 0 ] && $TMPDIR/$$.bin - RET=$? rm -f $TMPDIR/$$.{c,bin} return $RET }