]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
support/configure.inc: fix crosscompiling
authorStefan Saraev <stefan@saraev.ca>
Fri, 14 Feb 2014 16:29:28 +0000 (18:29 +0200)
committerStefan Saraev <stefan@saraev.ca>
Fri, 14 Feb 2014 16:29:28 +0000 (18:29 +0200)
--cc= can be whatever. there should be no check if generated
binaries can run while crosscompiling.

support/configure.inc

index 7c60fcb1db9e1ce250e9063e11a892e8d83185bc..bddc6fc147f6809a1aefeb39d32c1842232d9008 100755 (executable)
@@ -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
 }