X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/592adfdf7413d1977bbf5199d7eb8b9f580502b0..9569535774eb281ddc9e3751789ae5d044f79387:/package/openssl/Makefile?ds=inline diff --git a/package/openssl/Makefile b/package/openssl/Makefile index 6eafc7ed7..dce755053 100644 --- a/package/openssl/Makefile +++ b/package/openssl/Makefile @@ -69,7 +69,7 @@ OPENSSL_NO_CIPHERS:= no-idea no-md2 no-mdc2 no-rc2 no-rc5 no-sha0 no-smime \ no-rmd160 no-aes192 no-ripemd no-camellia no-ans1 no-krb5 ifeq ($(BOARD),ixp4xx) OPENSSL_OPTIONS:= shared no-ec no-err no-fips no-hw no-threads zlib-dynamic \ - no-sse2 no-perlasm + no-sse2 no-perlasm --with-cryptodev else OPENSSL_OPTIONS:= shared no-ec no-err no-fips no-hw no-threads zlib-dynamic \ no-engines no-sse2 no-perlasm @@ -89,6 +89,8 @@ define Build/Configure ) endef +TARGET_CFLAGS += $(FPIC) + define Build/Compile rm -rf $(PKG_INSTALL_DIR) mkdir -p $(PKG_INSTALL_DIR) @@ -120,7 +122,7 @@ define Build/InstallDev $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{crypto,ssl}.{a,so*} $(1)/usr/lib/ mkdir -p $(1)/usr/lib/pkgconfig $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/{openssl,libcrypto,libssl}.pc $(1)/usr/lib/pkgconfig/ - $(SED) 's,$(TARGET_LDFLAGS),,g' $(1)/usr/lib/pkgconfig/{openssl,libcrypto,libssl}.pc + $(SED) 's#$(TARGET_LDFLAGS)##g' $(1)/usr/lib/pkgconfig/{openssl,libcrypto,libssl}.pc endef define Package/libopenssl/install