diff options
Diffstat (limited to 'meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/0001-Makefile-add-LDFLAGS.patch')
| -rw-r--r-- | meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/0001-Makefile-add-LDFLAGS.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/0001-Makefile-add-LDFLAGS.patch b/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/0001-Makefile-add-LDFLAGS.patch new file mode 100644 index 0000000000..ac38115952 --- /dev/null +++ b/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/0001-Makefile-add-LDFLAGS.patch | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | From 8393f9d64b4cead722ee1a7674da1c41b33cfdcc Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Yi Zhao <yi.zhao@windriver.com> | ||
| 3 | Date: Fri, 20 Jun 2025 15:08:19 +0800 | ||
| 4 | Subject: [PATCH] Makefile: add LDFLAGS | ||
| 5 | |||
| 6 | Upstream-Status: Pending | ||
| 7 | |||
| 8 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | ||
| 9 | --- | ||
| 10 | utils/Makefile | 4 ++-- | ||
| 11 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
| 12 | |||
| 13 | diff --git a/utils/Makefile b/utils/Makefile | ||
| 14 | index a00fa13..13e91f7 100644 | ||
| 15 | --- a/utils/Makefile | ||
| 16 | +++ b/utils/Makefile | ||
| 17 | @@ -56,10 +56,10 @@ $(COMMONOBJS) $(MKYAFFSIMAGEOBJS) $(MKYAFFS2IMAGEOBJS) : %.o: %.c | ||
| 18 | $(CC) -c $(CFLAGS) $< -o $@ | ||
| 19 | |||
| 20 | mkyaffsimage: $(MKYAFFSIMAGEOBJS) $(COMMONOBJS) | ||
| 21 | - $(CC) -o $@ $^ | ||
| 22 | + $(CC) $(LDFLAGS) -o $@ $^ | ||
| 23 | |||
| 24 | mkyaffs2image: $(MKYAFFS2IMAGEOBJS) $(COMMONOBJS) | ||
| 25 | - $(CC) -o $@ $^ | ||
| 26 | + $(CC) $(LDFLAGS) -o $@ $^ | ||
| 27 | |||
| 28 | |||
| 29 | clean: | ||
| 30 | -- | ||
| 31 | 2.34.1 | ||
| 32 | |||
