summaryrefslogtreecommitdiff
path: root/guile-configure.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-23 02:34:08 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-23 02:34:08 +0000
commit486ecce9b8601814beae1a84aa49377f4cf48ee9 (patch)
tree8bdcca3ef69ac84dc3fdd041e5ff7df76951400f /guile-configure.patch
parentec6d413581c6ad0927c65836f255e8d19985d844 (diff)
automatic import of guileopeneuler24.03_LTS
Diffstat (limited to 'guile-configure.patch')
-rw-r--r--guile-configure.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/guile-configure.patch b/guile-configure.patch
new file mode 100644
index 0000000..e5b9436
--- /dev/null
+++ b/guile-configure.patch
@@ -0,0 +1,21 @@
+diff -Nrup a/m4/mathfunc.m4 b/m4/mathfunc.m4
+--- a/m4/mathfunc.m4 2016-12-14 17:03:33.000000000 -0700
++++ b/m4/mathfunc.m4 2020-01-06 19:48:46.684158282 -0700
+@@ -60,7 +60,7 @@ AC_DEFUN([gl_MATHFUNC],
+ #endif
+ #include <math.h>
+ $4
+- $2 (*funcptr) $3 = ]func[;
++ __attribute__ ((used)) $2 (*funcptr) $3 = ]func[;
+ int i_ret;
+ float f_ret;
+ double d_ret;
+@@ -85,7 +85,7 @@ AC_DEFUN([gl_MATHFUNC],
+ #endif
+ #include <math.h>
+ $4
+- $2 (*funcptr) $3 = ]func[;
++ __attribute__ ((used)) $2 (*funcptr) $3 = ]func[;
+ int i_ret;
+ float f_ret;
+ double d_ret;