summaryrefslogtreecommitdiffstats
path: root/patches/liboil-0.3.16/liboil-0.3.13-fix-configure.diff
blob: f04595b502967616f00d4fdc2d50214a9cd87e4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Subject: liboil: don't check for assembler options and add compiler options
From: Michael Olbrich <m.olbrich@pengutronix.de>

Checking for "-Wa,-mfpu=vfp" and then adding "-mfpu=vfp" os of course nonsense.

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
[mkl: ported to configure]
Singed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>

---
 configure |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Index: liboil-0.3.16/configure
===================================================================
--- liboil-0.3.16.orig/configure
+++ liboil-0.3.16/configure
@@ -17458,11 +17458,11 @@ fi
 
 if test x$HAVE_GCC_ASM = xyes -a x$HAVE_ARM = xyes ; then
 
-  { echo "$as_me:$LINENO: checking to see if compiler understands \"-Wa,-mfpu=vfp\"" >&5
-echo $ECHO_N "checking to see if compiler understands \"-Wa,-mfpu=vfp\"... $ECHO_C" >&6; }
+  { echo "$as_me:$LINENO: checking to see if compiler understands \"-mfpu=vfp\"" >&5
+echo $ECHO_N "checking to see if compiler understands \"-mfpu=vfp\"... $ECHO_C" >&6; }
 
   save_CFLAGS="$CFLAGS"
-  CFLAGS="$CFLAGS "-Wa,-mfpu=vfp""
+  CFLAGS="$CFLAGS "-mfpu=vfp""
 
   cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */