]> git.kernelconcepts.de Git - meta-kc-bsp.git/blob - recipes-support/overlayfs-tools/overlayfs-tools/0002-Fix-linking.patch
layer.conf: Add support for hardknott
[meta-kc-bsp.git] / recipes-support / overlayfs-tools / overlayfs-tools / 0002-Fix-linking.patch
1 From 875cc2ec794b27bcf64fca81f4b278f269bcb540 Mon Sep 17 00:00:00 2001
2 From: Florian Boor <florian@kernelconcepts.de>
3 Date: Fri, 12 Oct 2018 18:10:22 +0200
4 Subject: [PATCH 2/2] Fix linking
5
6 ---
7  makefile | 2 +-
8  1 file changed, 1 insertion(+), 1 deletion(-)
9
10 diff --git a/makefile b/makefile
11 index 0af149a..d745e2d 100644
12 --- a/makefile
13 +++ b/makefile
14 @@ -1,7 +1,7 @@
15  all: overlay
16  
17  overlay: main.o logic.o sh.o
18 -       $(CC) $(LFLAGS) main.o logic.o sh.o -o overlay
19 +       $(CCLD) $(LDFLAGS) main.o logic.o sh.o -o overlay
20  
21  main.o: main.c logic.h
22         $(CC) $(CFLAGS) -c main.c
23 -- 
24 2.11.0
25