Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 1 | From 2a62d7623e3d4c0eaa44434ab678274fe3a9edb1 Mon Sep 17 00:00:00 2001 |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 2 | From: OpenEmbedded <oe.patch@oe> |
| 3 | Date: Wed, 11 Apr 2018 22:51:00 +0200 |
| 4 | Subject: [PATCH] force static build |
| 5 | |
| 6 | Upstream-Status: Inappropriate [embedded specific] |
| 7 | Signed-off-by: Andrea Adami <andrea.adami@gmail.com> |
| 8 | |
| 9 | --- |
| 10 | Makefile.in | 2 +- |
| 11 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 12 | |
| 13 | diff --git a/Makefile.in b/Makefile.in |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 14 | index fb01134..dbf1fb6 100644 |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 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@ |