2022-06-24 19:42:53 +02:00
|
|
|
From: Michel Normand <normand@linux.vnet.ibm.com>
|
|
|
|
Subject: Bug1143286 libcaca configure ac chg for lto
|
|
|
|
Date: Thu, 01 Aug 2019 11:43:35 +0200
|
|
|
|
|
|
|
|
Bug1143286 libcaca configure ac chg for lto
|
|
|
|
|
|
|
|
bypass to avoid PowerPC/ARM build failures
|
|
|
|
now that LTO is default build option for openSUSE.
|
|
|
|
|
|
|
|
Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
|
|
|
|
---
|
|
|
|
configure.ac | 4 ++--
|
|
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
|
2022-11-16 15:17:39 +01:00
|
|
|
Index: libcaca-0.99.beta20/configure.ac
|
2022-06-24 19:42:53 +02:00
|
|
|
===================================================================
|
2022-11-16 15:17:39 +01:00
|
|
|
--- libcaca-0.99.beta20.orig/configure.ac
|
|
|
|
+++ libcaca-0.99.beta20/configure.ac
|
|
|
|
@@ -146,7 +146,7 @@ AC_COMPILE_IFELSE(
|
2022-06-24 19:42:53 +02:00
|
|
|
[AC_MSG_RESULT(no)])
|
|
|
|
|
|
|
|
AC_MSG_CHECKING(for fsin/fcos)
|
2022-11-16 15:17:39 +01:00
|
|
|
-AC_COMPILE_IFELSE(
|
|
|
|
+AC_LINK_IFELSE(
|
|
|
|
[AC_LANG_PROGRAM(
|
|
|
|
[[]],
|
|
|
|
[[double x; asm volatile("fsin; fcos":"=t"(x):);]])],
|
|
|
|
@@ -155,7 +155,7 @@ AC_COMPILE_IFELSE(
|
2022-06-24 19:42:53 +02:00
|
|
|
[AC_MSG_RESULT(no)])
|
|
|
|
|
|
|
|
AC_MSG_CHECKING(for fldln2/fxch/fyl2x)
|
2022-11-16 15:17:39 +01:00
|
|
|
-AC_COMPILE_IFELSE(
|
|
|
|
+AC_LINK_IFELSE(
|
|
|
|
[AC_LANG_PROGRAM(
|
|
|
|
[[]],
|
|
|
|
[[double x; asm volatile("fldln2; fldln2; fxch; fyl2x":"=t"(x):);]])],
|