harfbuzz: security bump to version 1.4.4
[buildroot-gz.git] / package / xfsprogs / 0003-xfsprogs-don-t-use-CFLAGS-with-BUILD_CC.patch
blob36896b5b95074802b2e29e2ccfc8dc19de128917
1 From b981adb6769f6b7d80f6c98627391398a007a25b Mon Sep 17 00:00:00 2001
2 From: Gustavo Zacarias <gustavo@zacarias.com.ar>
3 Date: Tue, 15 Dec 2015 20:51:35 -0300
4 Subject: [PATCH] xfsprogs: don't use CFLAGS with BUILD_CC
6 When cross-compiling CFLAGS might not be suitable for the host
7 (BUILD_CC) compiler since it might contain arch-specific options.
9 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
10 ---
11 libxfs/Makefile | 4 ++--
12 1 file changed, 2 insertions(+), 2 deletions(-)
14 diff --git a/libxfs/Makefile b/libxfs/Makefile
15 index e021625..ad76a04 100644
16 --- a/libxfs/Makefile
17 +++ b/libxfs/Makefile
18 @@ -118,7 +118,7 @@ default: ltdepend $(LTLIBRARY)
20 crc32table.h: gen_crc32table.c
21 @echo " [CC] gen_crc32table"
22 - $(Q) $(BUILD_CC) $(CFLAGS) -o gen_crc32table $<
23 + $(Q) $(BUILD_CC) -o gen_crc32table $<
24 @echo " [GENERATE] $@"
25 $(Q) ./gen_crc32table > crc32table.h
27 @@ -129,7 +129,7 @@ crc32table.h: gen_crc32table.c
28 # disk.
29 crc32selftest: gen_crc32table.c crc32table.h crc32.c
30 @echo " [TEST] CRC32"
31 - $(Q) $(BUILD_CC) $(CFLAGS) -D CRC32_SELFTEST=1 crc32.c -o $@
32 + $(Q) $(BUILD_CC) -D CRC32_SELFTEST=1 crc32.c -o $@
33 $(Q) ./$@
35 # set up include/xfs header directory
36 --
37 2.7.4