This is an automated email from the ASF dual-hosted git repository.

janc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git


The following commit(s) were added to refs/heads/master by this push:
     new e805fc039 baselibc: Don't use -umain for native build
e805fc039 is described below

commit e805fc039aabe5157aa5b8ea6466a019c2675342
Author: Szymon Janc <[email protected]>
AuthorDate: Wed Oct 30 09:28:33 2024 +0100

    baselibc: Don't use -umain for native build
    
    This is not needed for native but was causing link issues on
    MacOS (clang).
---
 libc/baselibc/pkg.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libc/baselibc/pkg.yml b/libc/baselibc/pkg.yml
index 302f9b419..b8acd28eb 100644
--- a/libc/baselibc/pkg.yml
+++ b/libc/baselibc/pkg.yml
@@ -37,5 +37,5 @@ pkg.cflags:
 pkg.cflags.BASELIBC_DEBUG_MALLOC:
     - -DDEBUG_MALLOC
 
-pkg.lflags:
+pkg.lflags.!MCU_NATIVE:
     - -umain

Reply via email to