You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ja...@apache.org on 2023/07/20 19:56:34 UTC
[mynewt-nimble] 02/03: porting/npl: Fix linux tests build
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 <sz...@codecoup.pl>
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 =====