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-nimble.git

commit fd20c10596d03faf960fe815139b30ef5accc2fd
Author: Szymon Janc <[email protected]>
AuthorDate: Thu Jul 20 16:38:26 2023 +0200

    porting/npl: Fix linux tests build
    
    For now build with -m32 flag.
---
 porting/npl/linux/test/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/porting/npl/linux/test/Makefile b/porting/npl/linux/test/Makefile
index ac8c24925..cab378d32 100644
--- a/porting/npl/linux/test/Makefile
+++ b/porting/npl/linux/test/Makefile
@@ -43,11 +43,12 @@ CFLAGS =                    \
     $(INCLUDES) $(DEFINES)  \
     -g                      \
     -D_GNU_SOURCE           \
+    -m32                    \
     $(NULL)
 
 LIBS = -lrt -lpthread -lstdc++
 
-LDFLAGS =
+LDFLAGS = -m32
 
 ### ===== Sources =====
 

Reply via email to