[packages/glibc] - hack not to fail building memusagestat when libgd uses librt
qboosh
qboosh at pld-linux.org
Sat Feb 1 20:05:47 CET 2020
commit cd44d11efb1afb9dea3603e7386852271e33ee81
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Feb 1 20:06:06 2020 +0100
- hack not to fail building memusagestat when libgd uses librt
glibc.spec | 9 +++++++++
1 file changed, 9 insertions(+)
---
diff --git a/glibc.spec b/glibc.spec
index 8d36933..db8ecb1 100644
--- a/glibc.spec
+++ b/glibc.spec
@@ -1016,6 +1016,15 @@ AWK="gawk" \
--with-selinux%{!?with_selinux:=no} \
--with-tls
+# hack: libgd (used by memusagestat) requires librt, which is built after malloc/ subdir.
+# First build all without libgd-dependent components (LIBGD=no)...
+%{__make} \
+ AWK="gawk" \
+ complocaledir=%{_prefix}/lib/locale \
+ sLIBdir=%{_libdir} \
+ LIBGD=no
+
+# ...then, when librt is ready, rerun make to build memusagestat
%{__make} \
AWK="gawk" \
complocaledir=%{_prefix}/lib/locale \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/glibc.git/commitdiff/cd44d11efb1afb9dea3603e7386852271e33ee81
More information about the pld-cvs-commit
mailing list