aboutsummaryrefslogtreecommitdiff
path: root/depends/packages/openssl.mk
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2014-11-11 18:21:23 -0500
committerCory Fields <cory-nospam-@coryfields.com>2014-11-19 22:49:41 -0500
commit4302fa67b12794648abb40a9e9f18230041691b4 (patch)
tree54ccd8b98189d26f7184bd8eace7056cf39d06d0 /depends/packages/openssl.mk
parentb5d1b1092998bc95313856d535c632ea5a8f9104 (diff)
depends: Use pic for all linux dependencies
This avoids textrels, and matches previous gitian behavior.
Diffstat (limited to 'depends/packages/openssl.mk')
-rw-r--r--depends/packages/openssl.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/depends/packages/openssl.mk b/depends/packages/openssl.mk
index 70b0b8d39f..6d7a556c11 100644
--- a/depends/packages/openssl.mk
+++ b/depends/packages/openssl.mk
@@ -10,12 +10,13 @@ $(package)_config_opts=--prefix=$(host_prefix) --openssldir=$(host_prefix)/etc/o
$(package)_config_opts+=no-krb5 no-camellia no-capieng no-cast no-cms no-dtls1 no-gost no-gmp no-heartbeats no-idea no-jpake no-md2
$(package)_config_opts+=no-mdc2 no-rc5 no-rdrand no-rfc3779 no-rsax no-sctp no-seed no-sha0 no-static_engine no-whirlpool no-rc2 no-rc4 no-ssl2 no-ssl3
$(package)_config_opts+=$($(package)_cflags) $($(package)_cppflags)
-$(package)_config_opts_x86_64_linux=-fPIC linux-x86_64
-$(package)_config_opts_arm_linux=-fPIC linux-generic32
+$(package)_config_opts_linux=-fPIC
+$(package)_config_opts_x86_64_linux=linux-x86_64
+$(package)_config_opts_i686_linux=linux-generic32
+$(package)_config_opts_arm_linux=linux-generic32
$(package)_config_opts_x86_64_darwin=darwin64-x86_64-cc
$(package)_config_opts_x86_64_mingw32=mingw64
$(package)_config_opts_i686_mingw32=mingw
-$(package)_config_opts_i686_linux=linux-generic32 -fPIC
endef
define $(package)_preprocess_cmds