summaryrefslogtreecommitdiffstats
path: root/Makefile.org
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2004-12-20 13:20:22 +0000
committerAndy Polyakov <appro@openssl.org>2004-12-20 13:20:22 +0000
commitfb39cd850c3c009b9b7ee13627adbce5422ffa1f (patch)
treee542a0d95766353b3e82bd0702630eeb75e0a3ea /Makefile.org
parent560f01fff95f1edd68ce54cb8fb4e8d6293d4b09 (diff)
Improved PowerPC platform support.
Diffstat (limited to 'Makefile.org')
-rw-r--r--Makefile.org2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.org b/Makefile.org
index a4349087b5..7c1fb95c5c 100644
--- a/Makefile.org
+++ b/Makefile.org
@@ -574,6 +574,8 @@ do_aix-shared:
libs="$(LIBKRB5) $$libs"; \
fi; \
( set -x; \
+ OBJECT_MODE=`expr x${SHARED_LDFLAGS} : 'x\-[a-z]\([0-9]*\)'`; \
+ OBJECT_MODE=$${OBJECT_MODE:-32}; export OBJECT_MODE; \
ld -r -o lib$$i.o $(ALLSYMSFLAG) lib$$i.a && \
( nm -Pg lib$$i.o | grep ' [BD] ' | cut -f1 -d' ' > lib$$i.exp; \
$(SHAREDCMD) $(SHAREDFLAGS) \