From 644d5e06d7b1dde5d0e15f889cc59e0e1165b166 Mon Sep 17 00:00:00 2001 From: "Thomas Trepl (Moody)" Date: Mon, 18 Apr 2022 12:58:19 +0200 Subject: [PATCH] Fix m{,x}32 instructions --- chapter08/zlib.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chapter08/zlib.xml b/chapter08/zlib.xml index a90c7c416..1d1d2d4d1 100644 --- a/chapter08/zlib.xml +++ b/chapter08/zlib.xml @@ -76,7 +76,7 @@ Prepare Zlib for compilation: -CC="gcc -m32" \ +CFLAGS+="-m32" CXXFLAGS+="-m32" \ ./configure --prefix=/usr \ --libdir=/usr/lib32 @@ -103,7 +103,7 @@ rm -rf DESTDIR Prepare Zlib for compilation: -CC="gcc -mx32" \ +CFLAGS+="-mx32" CXXFLAGS+="-mx32" \ ./configure --prefix=/usr \ --libdir=/usr/libx32