mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 02:19:23 +02:00
openssl does not compile with uml and arch x86_64
Hi, I found that openssl did not compile on the uml target under x86_64. The attached patch should correct this and is working for me. Is this the right way to do it? thanks, Thomas git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32443 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
b9afc75337
commit
d1f2a4a601
@ -82,11 +82,16 @@ else
|
||||
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); \
|
||||
./Configure linux-openwrt \
|
||||
./Configure $(OPENSSL_TARGET) \
|
||||
--prefix=/usr \
|
||||
--openssldir=/etc/ssl \
|
||||
$(TARGET_CPPFLAGS) \
|
||||
|
Loading…
Reference in New Issue
Block a user