[Clfs-commits] [Cross-LFS]Cross-LFS Book branch, sysvinit, updated. clfs-3.0.0-sysvinit-230-gf9e40f7

git git at clfs.org
Sun Dec 27 10:23:14 PST 2015


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Cross-LFS Book".

The branch, sysvinit has been updated
       via  f9e40f7ebceec41ca0a09fd69c71501b9783ed4f (commit)
      from  74d38b73e825ec22f08e9d4b89b15917d15c6241 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f9e40f7ebceec41ca0a09fd69c71501b9783ed4f
Author: William Harrington <kb0iic at berzerkula.org>
Date:   Sun Dec 27 17:23:10 2015 -0600

    Some hosts may set PKG_CONFIG_PATH in /etc/profile or /etc/profile.d and will be used after 'su - clfs'. Unset PKG_CONFIG_PATH variable will make sure only pkgconfig in /tools will be used and no packages will be picked up from the host i.e. guile or ncursesw.

diff --git a/BOOK/final-preps/common/settingenviron.xml b/BOOK/final-preps/common/settingenviron.xml
index 72df3c6..238ec78 100644
--- a/BOOK/final-preps/common/settingenviron.xml
+++ b/BOOK/final-preps/common/settingenviron.xml
@@ -45,7 +45,7 @@ CLFS=/mnt/clfs
 LC_ALL=POSIX
 PATH=/cross-tools/bin:/bin:/usr/bin
 export CLFS LC_ALL PATH
-unset CFLAGS CXXFLAGS</literal>
+unset CFLAGS CXXFLAGS PKG_CONFIG_PATH</literal>
 EOF</userinput></screen>
 
   <para os="f">The <command>set +h</command> command turns off
@@ -83,8 +83,9 @@ EOF</userinput></screen>
   hashing, helps to ensure that you will be using the cross-compile
   tools to build the temp-system in /tools.</para>
 
-  <para os="k">The <envar>CFLAGS</envar> and <envar>CXXFLAGS</envar> variables
-  should not be set while building the temporary system, so we unset them.</para>
+  <para os="k">The <envar>CFLAGS</envar>, <envar>CXXFLAGS</envar> and
+  <envar>PKG_CONFIG_PATH</envar> variables should not be set while building the
+  temporary system, so we unset them.</para>
 
   <para os="l">Finally, to have the environment fully prepared for building the
   temporary tools, source the just-created user profile:</para>

-----------------------------------------------------------------------

Summary of changes:
 BOOK/final-preps/common/settingenviron.xml |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
Cross-LFS Book



More information about the Clfs-commits mailing list