From adcaa44de66528d2e15b1cbd526dddeb773fa5c7 Mon Sep 17 00:00:00 2001 From: Thomas Trepl Date: Sun, 7 May 2023 22:40:51 +0200 Subject: [PATCH] Simplify instructions for m32 and mx32 --- chapter08/openssl.xml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/chapter08/openssl.xml b/chapter08/openssl.xml index 2920f930f..f466bd5f1 100644 --- a/chapter08/openssl.xml +++ b/chapter08/openssl.xml @@ -139,13 +139,12 @@ make MANSUFFIX=ssl install Prepare OpenSSL for compilation: -CFLAGS="-m32 -march=i686 -Wall -O3" CXXFLAGS="$CFLAGS" \ -./config --prefix=/usr \ +./config --prefix=/usr \ --openssldir=/etc/ssl \ --libdir=lib32 \ shared \ zlib-dynamic \ - linux-generic32 + linux-x86 Compile the package: @@ -172,8 +171,7 @@ rm -rf DESTDIR Prepare OpenSSL for compilation: -CFLAGS="-mx32 -march=x86-64 -Wall -O3" CXXFLAGS="$CFLAGS" \ -./config --prefix=/usr \ +./config --prefix=/usr \ --openssldir=/etc/ssl \ --libdir=libx32 \ shared \