summaryrefslogtreecommitdiffstats
path: root/package/zip/0003-Makefile-Use-CFLAGS-from-command-line.patch
diff options
context:
space:
mode:
authorLuca Ceresoli <luca@lucaceresoli.net>2015-11-27 18:38:00 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-11-28 18:21:18 +0100
commitf0c9470451b23989fe7b298d30352760b1513c37 (patch)
tree3de428eeb27535a12aeffc80f5d62cbadcbdf4e4 /package/zip/0003-Makefile-Use-CFLAGS-from-command-line.patch
parentd563c0d5ac76b59379dcc228c02408b2a402b721 (diff)
downloadbuildroot-f0c9470451b23989fe7b298d30352760b1513c37.tar.gz
buildroot-f0c9470451b23989fe7b298d30352760b1513c37.zip
infozip: rename to zip
We currently have a package named "infozip" for Info-Zip's Zip. With the upcoming addition of a package the Info-Zip's UnZip the name is becoming ambiguous. Rename it to the more specific name "zip". Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Cc: Romain Naour <romain.naour@openwide.fr> Cc: Jan Pedersen <jp@jp-embedded.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Reviewed-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/zip/0003-Makefile-Use-CFLAGS-from-command-line.patch')
-rw-r--r--package/zip/0003-Makefile-Use-CFLAGS-from-command-line.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/package/zip/0003-Makefile-Use-CFLAGS-from-command-line.patch b/package/zip/0003-Makefile-Use-CFLAGS-from-command-line.patch
new file mode 100644
index 0000000000..104b7e8d89
--- /dev/null
+++ b/package/zip/0003-Makefile-Use-CFLAGS-from-command-line.patch
@@ -0,0 +1,30 @@
+From 93189390de7322da78bc5b807f4cadaff46393c9 Mon Sep 17 00:00:00 2001
+From: Romain Naour <romain.naour@openwide.fr>
+Date: Thu, 22 Jan 2015 22:45:30 +0100
+Subject: [PATCH 3/6] Makefile: Use CFLAGS from command line
+
+Replace CFLAGS_NOOPT by CFLAGS when calling unix/configure script
+to create 'flags' file which contains all variables used to build
+zip binary.
+
+Signed-off-by: Romain Naour <romain.naour@openwide.fr>
+---
+ unix/Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/unix/Makefile b/unix/Makefile
+index abd0c44..db62368 100644
+--- a/unix/Makefile
++++ b/unix/Makefile
+@@ -177,7 +177,7 @@ uninstall:
+
+
+ flags: unix/configure
+- sh unix/configure "${CC}" "${CFLAGS_NOOPT}" "${IZ_BZIP2}"
++ sh unix/configure "${CC}" "${CFLAGS}" "${IZ_BZIP2}"
+
+ # These symbols, when #defined using -D have these effects on compilation:
+ # ZMEM - includes C language versions of memset(), memcpy(),
+--
+1.9.3
+
OpenPOWER on IntegriCloud