summaryrefslogtreecommitdiffstats
path: root/patches/liboil-0.3.16/liboil-0.3.13-fix-configure.ac.diff
blob: 2c31257579e775aaf1d1a1b8719f0d660ed5426b (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
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>

---
 configure.ac |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: liboil-0.3.15/configure.ac
===================================================================
--- liboil-0.3.15.orig/configure.ac
+++ liboil-0.3.15/configure.ac
@@ -188,10 +188,10 @@ if test x$HAVE_GCC_ASM = xyes -a x$HAVE_
 fi
 
 if test x$HAVE_GCC_ASM = xyes -a x$HAVE_ARM = xyes ; then
-  AS_COMPILER_FLAG(["-Wa,-mfpu=vfp"],
+  AS_COMPILER_FLAG(["-mfpu=vfp"],
     [VFP_CFLAGS="$VFP_CFLAGS -mfpu=vfp"],
     true)
-  #AS_COMPILER_FLAG(["-Wa,-mfloat-abi=softfp"],
+  #AS_COMPILER_FLAG(["-mfloat-abi=softfp"],
   #  [VFP_CFLAGS="$VFP_CFLAGS -mfloat-abi=softfp"],
   #  true)
 fi