Changeset 1552c51


Ignore:
Timestamp:
Dec 27, 2015, 3:23:10 PM (9 years ago)
Author:
William Harrington <kb0iic@…>
Branches:
master, systemd
Children:
2558f95
Parents:
f37fe30
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-preps/common/settingenviron.xml

    rf37fe30 r1552c51  
    4646PATH=/cross-tools/bin:/bin:/usr/bin
    4747export CLFS LC_ALL PATH
    48 unset CFLAGS CXXFLAGS</literal>
     48unset CFLAGS CXXFLAGS PKG_CONFIG_PATH</literal>
    4949EOF</userinput></screen>
    5050
     
    8484  tools to build the temp-system in /tools.</para>
    8585
    86   <para os="k">The <envar>CFLAGS</envar> and <envar>CXXFLAGS</envar> variables
    87   should not be set while building the temporary system, so we unset them.</para>
     86  <para os="k">The <envar>CFLAGS</envar>, <envar>CXXFLAGS</envar> and
     87  <envar>PKG_CONFIG_PATH</envar> variables should not be set while building the
     88  temporary system, so we unset them.</para>
    8889
    8990  <para os="l">Finally, to have the environment fully prepared for building the
Note: See TracChangeset for help on using the changeset viewer.