diff options
-rw-r--r-- | chapter01/changelog.xml | 4 | ||||
-rw-r--r-- | chapter05/findutils-inst.xml | 2 | ||||
-rw-r--r-- | chapter06/findutils-inst.xml | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 70b35d508..8b34e1e35 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -57,6 +57,10 @@ </itemizedlist> </para></listitem> +<listitem><para>January 6th, 2003 [gerard]: Chapter 05+06 - Findutils: +Added <emphasis>CPPFLAGS=-D_GNU_SOURCE</emphasis> to promote proper +compiling on non-x86 architectures.</para></listitem> + <listitem><para>January 6th, 2003 [gerard]: Chapter 06 - Zlib: Added CFLAGS variable to define -fPIC so the dynamic library gets compiled properly at all times.</para></listitem> diff --git a/chapter05/findutils-inst.xml b/chapter05/findutils-inst.xml index 6b09d0afa..06c27da47 100644 --- a/chapter05/findutils-inst.xml +++ b/chapter05/findutils-inst.xml @@ -7,7 +7,7 @@ install it.</para> <para>Install Findutils by running the following commands:</para> <para><screen><userinput>patch -Np1 -i ../findutils-&findutils-patch-version;.patch && -CPPFLAGS=-Dre_max_failures=re_max_failures2 \ +CPPFLAGS="-Dre_max_failures=re_max_failures2 -D_GNU_SOURCE" LDFLAGS="-static" ./configure --prefix=$LFS/static && make && make install</userinput></screen></para> diff --git a/chapter06/findutils-inst.xml b/chapter06/findutils-inst.xml index b58e9e8ff..9eeef3da0 100644 --- a/chapter06/findutils-inst.xml +++ b/chapter06/findutils-inst.xml @@ -8,7 +8,7 @@ install it.</para> <para><screen><userinput>patch -Np1 -i ../findutils-&findutils-patch-version;.patch && patch -Np1 -i ../findutils-&findutils-segfault-patch-version;-segfault.patch && -./configure --prefix=/usr && +CPPFLAGS="-D_GNU_SOURCE" ./configure --prefix=/usr && make libexecdir=/usr/bin && make libexecdir=/usr/bin install</userinput></screen></para> |