projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
openssl does not compile with uml and arch x86_64
[openwrt/svn-archive/archive.git]
/
package
/
openssl
/
Makefile
diff --git
a/package/openssl/Makefile
b/package/openssl/Makefile
index a696dd7cd414752cff3d7f606f80eb8b387df5cb..7043aeeb1880cb051cf60e64a29a596f92457ffa 100644
(file)
--- a/
package/openssl/Makefile
+++ b/
package/openssl/Makefile
@@
-82,11
+82,16
@@
else
OPENSSL_OPTIONS += no-engines
endif
OPENSSL_OPTIONS += no-engines
endif
-OPENSSL_OPTIONS += no-perlasm
+ifeq ($(CONFIG_x86_64),y)
+ OPENSSL_TARGET:=linux-x86_64
+else
+ OPENSSL_TARGET:=linux-openwrt
+ OPENSSL_OPTIONS+=no-perlasm no-sse2
+endif
define Build/Configure
(cd $(PKG_BUILD_DIR); \
define Build/Configure
(cd $(PKG_BUILD_DIR); \
- ./Configure
linux-openwrt
\
+ ./Configure
$(OPENSSL_TARGET)
\
--prefix=/usr \
--openssldir=/etc/ssl \
$(TARGET_CPPFLAGS) \
--prefix=/usr \
--openssldir=/etc/ssl \
$(TARGET_CPPFLAGS) \