blob: 34826baed9c6e965fa894fba6339192eea33ae56 [file] [log] [blame]
Brad Bishop26bdd442019-08-16 17:08:17 -04001From 2a62d7623e3d4c0eaa44434ab678274fe3a9edb1 Mon Sep 17 00:00:00 2001
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08002From: 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
Brad Bishop26bdd442019-08-16 17:08:17 -040014index fb01134..dbf1fb6 100644
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080015--- 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@