Skip to content

Commit

Permalink
Let's try to apply some of the changes that was done when upgrading to
Browse files Browse the repository at this point in the history
OpenSSL 3

See
[commit](d6ea59a)

Ticket: None
Changelog: None
Signed-off-by: Lars Erik Wik <[email protected]>
  • Loading branch information
larsewi committed Sep 7, 2023
1 parent def8b9a commit dc7ad3d
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions deps-packaging/openssl/cfbuild-openssl.spec
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,21 @@ if [ x$SYS = "xAIX" ]; then
# See https://www.ibm.com/developerworks/aix/library/au-gnu.html for
# details.
LDFLAGS="$LDFLAGS -Wl,-bexpfull"
# for some reason, Configure on AIX doesn't auto-detect target
if [ "$(uname -v)" -eq 7 ]; then
target=aix7-gcc
else
target=aix-gcc
fi
fi

./config shared no-idea no-rc5 no-ssl3 no-dtls no-psk no-srp no-engine \
$PERL ./Configure $target shared no-idea no-rc5 no-ssl3 no-dtls no-psk no-srp no-engine \
$DEBUG_CONFIG_FLAGS \
--prefix=%{prefix} \
$HACK_FLAGS \
$DEBUG_CFLAGS \
$LDFLAGS
$LDFLAGS \
--libdir=lib

# Remove -O3 and -fomit-frame-pointer from debug builds
if [ $BUILD_TYPE = "DEBUG" ]
Expand Down

0 comments on commit dc7ad3d

Please sign in to comment.