From d24f07425e9af3968bdd26ee836b0bbce337726a Mon Sep 17 00:00:00 2001 From: Victor Kirhenshtein Date: Tue, 22 Oct 2024 09:47:46 +0300 Subject: [PATCH] correct command line options for xlc and ar on AIX when 64 bit mode is selected --- configure | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 97f689ef1..c4a0cdee4 100755 --- a/configure +++ b/configure @@ -365,7 +365,12 @@ else AIX*) # Courtesy of dbakker@arrayasolutions.com SFLAGS=${CFLAGS-"-O -qmaxmem=8192"} CFLAGS=${CFLAGS-"-O -qmaxmem=8192"} - LDSHARED=${LDSHARED-"xlc -G"} ;; + LDSHARED=${LDSHARED-"xlc -G"} + if test $build64 -eq 1; then + CFLAGS="${CFLAGS} -q64" + SFLAGS="${SFLAGS} -q64" + ARFLAGS="-X64 ${ARFLAGS}" + fi ;; # send working options for other systems to zlib@gzip.org *) SFLAGS=${CFLAGS-"-O"} CFLAGS=${CFLAGS-"-O"}