Skip to content

Commit

Permalink
Now building 64-bit kit on AIX
Browse files Browse the repository at this point in the history
Got the following warning after updating openssl dependency from 1.1.1t
to 1.1.1v, and the build was broken. Not really sure what this does, but
hopefully it fixes things again.

```
WARNING! If you wish to build 64-bit kit, then you have to
         invoke './Configure aix64-cc' *manually*.
```

Ticket: None
Changelog: None
Signed-off-by: Lars Erik Wik <[email protected]>
  • Loading branch information
larsewi committed Aug 31, 2023
1 parent d252111 commit 744c3f5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion deps-packaging/openssl/cfbuild-openssl.spec
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,19 @@ then
fi
fi

AIX_64_BIT_KIT=
if [ x$SYS = "xAIX" ]; then
# If you wish to build 64-bit kit, then you have to invoke './Configure aix64-cc' *manually*.
AIX_64_BIT_KIT="aix64-cc"

# This flag is needed because the AIX linker doesn't export symbols starting
# with underscore by default (and some are needed in OpenSSL's ASM tricks).
# See https://www.ibm.com/developerworks/aix/library/au-gnu.html for
# details.
LDFLAGS="$LDFLAGS -Wl,-bexpfull"
fi

./config shared no-idea no-rc5 no-ssl3 no-dtls no-psk no-srp no-engine \
./config $AIX_64_BIT_KIT shared no-idea no-rc5 no-ssl3 no-dtls no-psk no-srp no-engine \
$DEBUG_CONFIG_FLAGS \
--prefix=%{prefix} \
$HACK_FLAGS \
Expand Down

0 comments on commit 744c3f5

Please sign in to comment.