1From 2a62d7623e3d4c0eaa44434ab678274fe3a9edb1 Mon Sep 17 00:00:00 2001
2From: OpenEmbedded <oe.patch@oe>
3Date: Wed, 11 Apr 2018 22:51:00 +0200
4Subject: [PATCH] force static build
5
6Upstream-Status: Inappropriate [embedded specific]
7Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
8
9---
10 Makefile.in | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/Makefile.in b/Makefile.in
14index fb01134..dbf1fb6 100644
15--- a/Makefile.in
16+++ b/Makefile.in
17@@ -47,7 +47,7 @@ TARGET_CFLAGS	= @TARGET_CFLAGS@
18 # where necessary.
19 CPPFLAGS	= @CPPFLAGS@ -I$(srcdir)/include -I$(srcdir)/util_lib/include \
20 			-Iinclude/ $($(ARCH)_CPPFLAGS)
21-CFLAGS		= @CFLAGS@ -fno-strict-aliasing -Wall -Wstrict-prototypes
22+CFLAGS		= @CFLAGS@ -static -fno-strict-aliasing -Wall -Wstrict-prototypes
23 PURGATORY_EXTRA_CFLAGS = @PURGATORY_EXTRA_CFLAGS@
24 ASFLAGS		= @ASFLAGS@ $($(ARCH)_ASFLAGS)
25 LDFLAGS		= @LDFLAGS@
26