]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
openssl-native(sdk): poision built in paths
authorDan McGregor <dan.mcgregor@usask.ca>
Fri, 28 Feb 2025 20:32:06 +0000 (14:32 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 6 Mar 2025 11:16:41 +0000 (11:16 +0000)
commitd1b29222ad6243c15275a04f9de5989cf158cb2e
treee9f99b754ae8c22df92d14818dcb75f15b8ac404
parent3a8633b9f522e0be31c08790a3f2050c6d052d93
openssl-native(sdk): poision built in paths

Long ago, in the OpenSSL 1.1 days changing CFLAGS worked to override
hard-coded paths in the OpenSSL libraries. Even as far back as
kirkstone this was no longer working.

Override make variables instead to poision the paths that get built
into the native (and nativesdk) libraries so they become relocatable
again.

While here, remove the -isystem<foo> compiler argument from the compiler
command line stored in the library, just like we already remove the
prefix-map and sysroot arguments.

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/openssl/openssl/0001-buildinfo-strip-sysroot-and-debug-prefix-map-from-co.patch
meta/recipes-connectivity/openssl/openssl_3.4.1.bb