On 17 May 2026, at 14:56, Ming Liu via lists.openembedded.org 
<[email protected]> wrote:
> 
> BUILD_LDFLAGS is missing for native build, add it in.
> 
> Signed-off-by: Ming Liu <[email protected]>
> ---
> meta/recipes-support/dos2unix/dos2unix_7.5.5.bb | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-support/dos2unix/dos2unix_7.5.5.bb 
> b/meta/recipes-support/dos2unix/dos2unix_7.5.5.bb
> index aa078ed200..cb7102942d 100644
> --- a/meta/recipes-support/dos2unix/dos2unix_7.5.5.bb
> +++ b/meta/recipes-support/dos2unix/dos2unix_7.5.5.bb
> @@ -25,7 +25,7 @@ PACKAGECONFIG ??= ""
> PACKAGECONFIG[nls] = "ENABLE_NLS=1,ENABLE_NLS=,po4a-native"
> 
> EXTRA_OEMAKE = "${PACKAGECONFIG_CONFARGS} LDFLAGS_USER='${LDFLAGS}'"
> -EXTRA_OEMAKE:class-native = "ENABLE_NLS="
> +EXTRA_OEMAKE:class-native = "ENABLE_NLS= LDFLAGS_USER='${BUILD_LDFLAGS}’"

This is only needed as the native override above replaces the line above that, 
which does set LDFLAGS correctly.

I suggest deleting the "EXTRA_OEMAKE:class-native” line entirely instead, the 
PACKAGECONFIG isn’t enabled by default anyway.

Ross
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#237520): 
https://lists.openembedded.org/g/openembedded-core/message/237520
Mute This Topic: https://lists.openembedded.org/mt/119357704/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to