diff --git a/chapter06/glibc-32.xml b/chapter06/glibc-32.xml index c9c28a67b..01f501350 100644 --- a/chapter06/glibc-32.xml +++ b/chapter06/glibc-32.xml @@ -55,10 +55,10 @@ CXX="g++ -m32 -ffile-prefix-map=/tools=/usr" \ --disable-werror \ --enable-kernel=&min-kernel; \ --enable-stack-protector=strong \ + --with-headers=/usr/include \ --enable-multi-arch \ --libdir=/usr/lib32 \ --libexecdir=/usr/lib32 \ - --with-headers=/usr/include \ libc_cv_slibdir=/usr/lib32 \ i686-pc-linux-gnu @@ -110,7 +110,7 @@ ArchLinux's kernels are configured like CONFIG_IA32_EMULATION=y # CONFIG_IA32_AOUT is not set -# CONFIG_X86_X32 is not set +# CONFIG_X86_X32 is not set <<<<< It isn't x32-enabled ==> Error when building x32 stuff --> @@ -132,9 +132,10 @@ CXX="g++ -mx32 -ffile-prefix-map=/tools=/usr" \ --disable-werror \ --enable-kernel=&min-kernel; \ --enable-stack-protector=strong \ + --with-headers=/usr/include \ --enable-multi-arch \ --libdir=/usr/libx32 \ - --with-headers=/usr/include \ + --libexecdir=/usr/libx32 \ libc_cv_slibdir=/usr/libx32 \ x86_64-pc-linux-gnux32