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