summaryrefslogtreecommitdiff
path: root/openssl
diff options
context:
space:
mode:
authorHans-Joachim Lankenau <hjs@openoffice.org>2001-10-11 15:33:42 +0000
committerHans-Joachim Lankenau <hjs@openoffice.org>2001-10-11 15:33:42 +0000
commit7209ff03122e5e743973a58052dbb8f4edd716ef (patch)
treebad35db027bfe26984e818a2cd3cefb21d342ae9 /openssl
parent220d88f268c63aea018ffc93b72722b6b80aa743 (diff)
#89835# gcc likes -fpic better
Diffstat (limited to 'openssl')
-rw-r--r--openssl/makefile.mk14
1 files changed, 9 insertions, 5 deletions
diff --git a/openssl/makefile.mk b/openssl/makefile.mk
index 64c28272091f..306762898cae 100644
--- a/openssl/makefile.mk
+++ b/openssl/makefile.mk
@@ -2,9 +2,9 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.2 $
+# $Revision: 1.3 $
#
-# last change: $Author: hjs $ $Date: 2001-10-11 15:24:05 $
+# last change: $Author: hjs $ $Date: 2001-10-11 16:33:42 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@@ -78,9 +78,13 @@ PATCH_FILE_NAME=openssl-0.9.5a.patch
.IF "$(GUI)"=="UNX"
#relative to CONFIGURE_DIR
CONFIGURE_ACTION=config
-.IF "$(OS)$(CPU)$(COM)"=="SOLARISSC52"
-CONFIGURE_FLAGS=-DPIC -KPIC
-.ENDIF # "$(OS)$(CPU)$(COM)"=="SOLARISSC52"
+CONFIGURE_FLAGS=-DPIC
+
+.IF "$(COM)"=="GCC"
+CONFIGURE_FLAGS+=-fpic
+.ELSE
+CONFIGURE_FLAGS+=-KPIC
+.ENDIF
BUILD_DIR=$(CONFIGURE_DIR)
BUILD_ACTION=make