]> git.pld-linux.org Git - packages/glibc.git/commitdiff
- hack not to fail building memusagestat when libgd uses librt
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 1 Feb 2020 19:06:06 +0000 (20:06 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 1 Feb 2020 19:06:06 +0000 (20:06 +0100)
glibc.spec

index 8d3693300240a9c242bf2169649664e6d87c55e4..db8ecb150209063bb4097a34179cb3b38b0384f2 100644 (file)
@@ -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 \
This page took 0.176842 seconds and 4 git commands to generate.