blob: 4744e7a35b3fab37fcfe6f457d46a54f66f07699 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001From d6af515cfcc8185f423860f80ff28719975b701f 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 54c206f..79188d8 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@