[lfs] branch multilib updated: Lz4-ML: Remove LIBSRC_VER, build only libs.
| Newsgroups | gmane.linux.lfs.book |
|---|---|
| Message-ID | <177285561468.11220.17157459360739200777@rivendell.linuxfromscratch.org> |
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch multilib
in repository lfs.
The following commit(s) were added to refs/heads/multilib by this push:
new 23d0c4cf4 Lz4-ML: Remove LIBSRC_VER, build only libs.
23d0c4cf4 is described below
commit 23d0c4cf4ef8e2dcf40597d943483dd1ce30b8ae
Author: Zeckmathederg <[email protected]>
AuthorDate: Fri Mar 6 20:53:15 2026 -0700
Lz4-ML: Remove LIBSRC_VER, build only libs.
The LIBSRC_VER issue originated from the programs Makefile. For
lib32+libx32, the programs are unnecessary and waste build time. Kill
two birds with one stone. Get rid of the issue and have quicker build
times by building just the library and generate the pkg-config file.
---
chapter08/lz4.xml | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/chapter08/lz4.xml b/chapter08/lz4.xml
index 5a4b5ce7d..a62ac6aa2 100644
--- a/chapter08/lz4.xml
+++ b/chapter08/lz4.xml
@@ -72,16 +72,16 @@
<para>Compile the package:</para>
-<screen><userinput remap="make">CC="gcc -m32" make BUILD_STATIC=no</userinput></screen>
+<screen><userinput remap="make">CC="gcc -m32" make BUILD_STATIC=no -C lib</userinput></screen>
<para>Install the package:</para>
-<screen><userinput remap="install">make BUILD_STATIC=no \
- PREFIX=/usr \
- LIBDIR=/usr/lib32 \
- LIBVER_SRC=../lib/lz4.h \
- DESTDIR=$(pwd)/m32 install
-cp -a m32/usr/lib32/* /usr/lib32/</userinput></screen>
+<screen><userinput remap="install">make BUILD_STATIC=no \
+ PREFIX=/usr \
+ LIBDIR=/usr/lib32 \
+ DESTDIR=$(pwd)/m32 \
+ -C lib install
+cp -vR m32/usr/lib32/* /usr/lib32/</userinput></screen>
</sect2><!-- m32 -->
@@ -97,16 +97,16 @@ cp -a m32/usr/lib32/* /usr/lib32/</userinput></screen>
<para>Compile the package:</para>
-<screen><userinput remap="make">CC="gcc -mx32" make BUILD_STATIC=no</userinput></screen>
+<screen><userinput remap="make">CC="gcc -mx32" make BUILD_STATIC=no -C lib</userinput></screen>
<para>Install the package:</para>
-<screen><userinput remap="install">make BUILD_STATIC=no \
- PREFIX=/usr \
- LIBDIR=/usr/libx32 \
- LIBVER_SRC=../lib/lz4.h \
- DESTDIR=$(pwd)/mx32 install
-cp -a mx32/usr/libx32/* /usr/libx32/</userinput></screen>
+<screen><userinput remap="install">make BUILD_STATIC=no \
+ PREFIX=/usr \
+ LIBDIR=/usr/libx32 \
+ DESTDIR=$(pwd)/mx32 \
+ -C lib install
+cp -vR mx32/usr/libx32/* /usr/libx32/</userinput></screen>
</sect2><!-- mx32 -->
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
--
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page