Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1 | From d6af515cfcc8185f423860f80ff28719975b701f Mon Sep 17 00:00:00 2001 |
| 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 |
| 14 | index 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@ |