diff options
Diffstat (limited to 'meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-Makefile-build-mktables-using-native-gcc.patch')
-rw-r--r-- | meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-Makefile-build-mktables-using-native-gcc.patch | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-Makefile-build-mktables-using-native-gcc.patch b/meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-Makefile-build-mktables-using-native-gcc.patch index a81900ee7e..467de32751 100644 --- a/meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-Makefile-build-mktables-using-native-gcc.patch +++ b/meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-Makefile-build-mktables-using-native-gcc.patch | |||
@@ -12,19 +12,16 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | |||
12 | Makefile | 2 +- | 12 | Makefile | 2 +- |
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | 13 | 1 file changed, 1 insertion(+), 1 deletion(-) |
14 | 14 | ||
15 | diff --git a/Makefile b/Makefile | 15 | Index: git/Makefile |
16 | index b3e2b63..347aaf1 100644 | 16 | =================================================================== |
17 | --- a/Makefile | 17 | --- git.orig/Makefile |
18 | +++ b/Makefile | 18 | +++ git/Makefile |
19 | @@ -323,7 +323,7 @@ version.h: version.sh version.h.in configure.ac | 19 | @@ -343,7 +343,7 @@ version.h: version.sh version.h.in confi |
20 | 20 | ||
21 | mktables: kernel-lib/mktables.c | 21 | mktables: kernel-lib/mktables.c |
22 | @echo " [CC] $@" | 22 | @echo " [CC] $@" |
23 | - $(Q)$(CC) $(CFLAGS) $< -o $@ | 23 | - $(Q)$(CC) $(CFLAGS) $< -o $@ |
24 | + $(Q)$(BUILD_CC) $(BUILD_CFLAGS) $< -o $@ | 24 | + $(Q)$(BUILD_CC) $(BUILD_CFLAGS) $< -o $@ |
25 | 25 | ||
26 | kernel-lib/tables.c: mktables | 26 | # the target can be regenerated manually using mktables, but a local copy is |
27 | @echo " [TABLE] $@" | 27 | # kept so the build process is simpler |
28 | -- | ||
29 | 2.13.2 | ||
30 | |||