Changeset 9d1c903


Ignore:
Timestamp:
01/08/2022 05:19:25 PM (2 years ago)
Author:
Thomas Trepl (Moody) <thomas@…>
Branches:
multilib
Children:
8598141
Parents:
af974a9c
Message:

Adopt instructions for work with v3.x

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/openssl.xml

    raf974a9c r9d1c903  
    113113    <para>Prepare OpenSSL for compilation:</para>
    114114
    115 <screen><userinput remap="configure">MACHINE="i686"             \
    116 CC="gcc -m32 -march=i686"  \
    117 CXX="g++ -m32 -march=i686" \
    118     ./config               \
    119     --prefix=/usr          \
    120     --openssldir=/etc/ssl  \
    121     --libdir=lib32         \
    122     shared                 \
    123     zlib-dynamic</userinput></screen>
     115<screen><userinput remap="configure">CFLAGS="-m32 -march=i686 -Wall -O3" CXXFLAGS="$CFLAGS" \
     116./config --prefix=/usr         \
     117         --openssldir=/etc/ssl \
     118         --libdir=lib32        \
     119         shared                \
     120         zlib-dynamic          \
     121         linux-generic32</userinput></screen>
    124122
    125123    <para>Compile the package:</para>
     
    148146    <para>Prepare OpenSSL for compilation:</para>
    149147
    150 <screen><userinput remap="configure">MACHINE="x86_64"          \
    151 CC="gcc -mx32"            \
    152 CXX="g++ -mx32"           \
    153     ./config              \
    154     --prefix=/usr         \
    155     --openssldir=/etc/ssl \
    156     --libdir=libx32       \
    157     shared                \
    158     zlib-dynamic</userinput></screen>
     148<screen><userinput remap="configure">CFLAGS="-mx32 -march=x86-64 -Wall -O3" CXXFLAGS="$CFLAGS" \
     149./config --prefix=/usr         \
     150         --openssldir=/etc/ssl \
     151         --libdir=libx32       \
     152         shared                \
     153         zlib-dynamic          \
     154         linux-x32</userinput></screen>
    159155
    160156    <para>Compile the package:</para>
Note: See TracChangeset for help on using the changeset viewer.