logrotate: fix build with gcc 6
[buildroot-gz.git] / package / zip / 0003-Makefile-Use-CFLAGS-from-command-line.patch
blob104b7e8d89b9c6a937282938da7b055f5182abee
1 From 93189390de7322da78bc5b807f4cadaff46393c9 Mon Sep 17 00:00:00 2001
2 From: Romain Naour <romain.naour@openwide.fr>
3 Date: Thu, 22 Jan 2015 22:45:30 +0100
4 Subject: [PATCH 3/6] Makefile: Use CFLAGS from command line
6 Replace CFLAGS_NOOPT by CFLAGS when calling unix/configure script
7 to create 'flags' file which contains all variables used to build
8 zip binary.
10 Signed-off-by: Romain Naour <romain.naour@openwide.fr>
11 ---
12 unix/Makefile | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
15 diff --git a/unix/Makefile b/unix/Makefile
16 index abd0c44..db62368 100644
17 --- a/unix/Makefile
18 +++ b/unix/Makefile
19 @@ -177,7 +177,7 @@ uninstall:
22 flags: unix/configure
23 - sh unix/configure "${CC}" "${CFLAGS_NOOPT}" "${IZ_BZIP2}"
24 + sh unix/configure "${CC}" "${CFLAGS}" "${IZ_BZIP2}"
26 # These symbols, when #defined using -D have these effects on compilation:
27 # ZMEM - includes C language versions of memset(), memcpy(),
28 --
29 1.9.3