From 1e404d569a868de76e856219f28d72d0e108c5a6 Mon Sep 17 00:00:00 2001 From: Thomas Trepl Date: Thu, 7 Nov 2024 14:50:39 +0100 Subject: [PATCH] Add a flag required for supporting precompiled apps --- chapter08/glibc.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chapter08/glibc.xml b/chapter08/glibc.xml index ed79fc887..03b3e72f8 100644 --- a/chapter08/glibc.xml +++ b/chapter08/glibc.xml @@ -624,7 +624,8 @@ find .. -name "*.a" -delete Configure Glibc for m32 with the following commands: -CC="gcc -m32" CXX="g++ -m32" \ +CC="gcc -m32 -mstackrealign" \ +CXX="g++ -m32 -mstackrealign" \ ../configure \ --prefix=/usr \ --host=i686-pc-linux-gnu \