Skip to content

Commit

Permalink
squashme, adjusted openssl configure for aix
Browse files Browse the repository at this point in the history
  • Loading branch information
craigcomstock committed Sep 13, 2023
1 parent e87d8a9 commit 6cc2c1c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions deps-packaging/openssl/cfbuild-openssl.spec
Original file line number Diff line number Diff line change
Expand Up @@ -62,17 +62,18 @@ 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
target=aix-gcc
# ./config doesn't properly detect aix-gcc on our systems, so be explicit and use ./Configure
CONFIG_COMMAND=$PERL ./Configure aix-gcc
else
CONFIG_COMMAND=./config
fi

$PERL ./Configure $target shared no-idea no-rc5 no-ssl3 no-dtls no-psk no-srp no-engine \
"$CONFIG_COMMAND" 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 \
--libdir=lib
$LDFLAGS

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

0 comments on commit 6cc2c1c

Please sign in to comment.