Skip to contentSkip to conversation

cmake: explicitly disable openssl support for host-cmake

PATCH New Peter Korsgaard 1 participant 4 messages Sep 18, 2017 – Oct 16, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cmake: explicitly disable openssl support for host-cmake

host-cmake will optionally link with openssl for the embedded copy of libarchive if available, leaking host dependencies and possibly causing build issues in case of compatibility issues - E.G. the host-cmake version we have in 2017.02.x doesn't build against openssl-1.1.0+:

https://github.com/libarchive/libarchive/issues/810

The openssl support in libarchive is unlikely to be needed, so explicitly disable it.

---
 package/cmake/cmake.mk | 1 +
 1 file changed, 1 insertion(+)
package/cmake/cmake.mk +1 -0
index e53b8aa360..a00691a128 100644
@@ -46,6 +46,7 @@ define HOST_CMAKE_CONFIGURE_CMDS
 			-DCMAKE_C_FLAGS="$(HOST_CMAKE_CFLAGS)" \
 			-DCMAKE_CXX_FLAGS="$(HOST_CMAKE_CXXFLAGS)" \
 			-DCMAKE_EXE_LINKER_FLAGS="$(HOST_LDFLAGS)" \
+			-DCMAKE_USE_OPENSSL:BOOL=OFF \
 			-DBUILD_CursesDialog=OFF \
 	)
 endef
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 cmake: explicitly disable openssl support for host-cmake

Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Peter" == Peter Korsgaard <[email protected]> writes:

host-cmake will optionally link with openssl for the embedded copy of libarchive if available, leaking host dependencies and possibly causing build issues in case of compatibility issues - E.G. the host-cmake version we have in 2017.02.x doesn't build against openssl-1.1.0+:

Quoted 6 lines

https://github.com/libarchive/libarchive/issues/810

The openssl support in libarchive is unlikely to be needed, so explicitly disable it.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw

PATCH 1/1 cmake: explicitly disable openssl support for host-cmake

In reply to Peter Korsgaard
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Peter" == Peter Korsgaard <[email protected]> writes:

host-cmake will optionally link with openssl for the embedded copy of libarchive if available, leaking host dependencies and possibly causing build issues in case of compatibility issues - E.G. the host-cmake version we have in 2017.02.x doesn't build against openssl-1.1.0+:

Quoted 6 lines

https://github.com/libarchive/libarchive/issues/810

The openssl support in libarchive is unlikely to be needed, so explicitly disable it.

Committed to 2017.02.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw

PATCH 1/1 cmake: explicitly disable openssl support for host-cmake

In reply to Peter Korsgaard
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Peter" == Peter Korsgaard <[email protected]> writes:

host-cmake will optionally link with openssl for the embedded copy of libarchive if available, leaking host dependencies and possibly causing build issues in case of compatibility issues - E.G. the host-cmake version we have in 2017.02.x doesn't build against openssl-1.1.0+:

Quoted 6 lines

https://github.com/libarchive/libarchive/issues/810

The openssl support in libarchive is unlikely to be needed, so explicitly disable it.

Committed to 2017.08.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard