perl: fix compilation with glibc 2.27
Remove dependency on glibc in 010-musl-compat patch as glibc does not support _LIB_VERSION anymore in 2.27; see https://sourceware.org/ml/libc-announce/2018/msg00000.html Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
This commit is contained in:
parent
b2990b1586
commit
86b8d1946c
1 changed files with 2 additions and 2 deletions
|
@ -1,11 +1,11 @@
|
||||||
--- a/perl.c
|
--- a/perl.c
|
||||||
+++ b/perl.c
|
+++ b/perl.c
|
||||||
@@ -286,7 +286,7 @@ perl_construct(pTHXx)
|
@@ -303,7 +303,7 @@ perl_construct(pTHXx)
|
||||||
PL_localpatches = local_patches; /* For possible -v */
|
PL_localpatches = local_patches; /* For possible -v */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
-#if defined(LIBM_LIB_VERSION)
|
-#if defined(LIBM_LIB_VERSION)
|
||||||
+#if defined(LIBM_LIB_VERSION) && (defined(__GLIBC__) || defined(__UCLIBC__))
|
+#if defined(LIBM_LIB_VERSION) && defined(__UCLIBC__)
|
||||||
/*
|
/*
|
||||||
* Some BSDs and Cygwin default to POSIX math instead of IEEE.
|
* Some BSDs and Cygwin default to POSIX math instead of IEEE.
|
||||||
* This switches them over to IEEE.
|
* This switches them over to IEEE.
|
||||||
|
|
Loading…
Reference in a new issue