Skip to contentSkip to conversation

[4315] Add ${ARCH_CFLAGS} when testing for libbrlapi

Qemu-devel Aurelien Jarno 1 participant 1 message May 4, 2008

lore
Share & tools
lore
#0 lore raw

Revision: 4315

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4315
Author:   aurel32
Date:     2008-05-04 00:50:25 +0000 (Sun, 04 May 2008)

Log Message:
-----------
Add ${ARCH_CFLAGS} when testing for libbrlapi

(Samuel Thibault, Ben Taylor)

Modified Paths:
--------------
trunk/configure

Modified: trunk/configure
===================================================================

configure +1 -1
@@ -733,7 +733,7 @@
 #include <brlapi.h>
 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