]> git.pld-linux.org Git - packages/glibc.git/blobdiff - glibc.spec
- hack not to fail building memusagestat when libgd uses librt
[packages/glibc.git] / 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.051337 seconds and 4 git commands to generate.