From: aurel32 Date: Sun, 4 May 2008 00:50:25 +0000 (+0000) Subject: Add ${ARCH_CFLAGS} when testing for libbrlapi X-Git-Tag: xen-3.3.0-rc1~194^2^2~137 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=a40e56d570ee8203be3f5d11fad92ac70cbb4f86;p=qemu-xen-3.3-testing.git Add ${ARCH_CFLAGS} when testing for libbrlapi (Samuel Thibault, Ben Taylor) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4315 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/configure b/configure index 188d1ebb..94a1cdbf 100755 --- a/configure +++ b/configure @@ -733,7 +733,7 @@ cat > $TMPC << EOF #include int main( void ) { return brlapi__openConnection (NULL, NULL, NULL); } EOF - if $cc -o $TMPE ${OS_CFLAGS} $TMPC -lbrlapi 2> /dev/null ; then + if $cc ${ARCH_CFLAGS} -o $TMPE ${OS_CFLAGS} $TMPC -lbrlapi 2> /dev/null ; then brlapi=yes fi # brlapi compile test fi # -z $brlapi