0003-Makefile-Use-CFLAGS-from-command-line.patch 944 B

123456789101112131415161718192021222324252627282930
  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
  5. Replace CFLAGS_NOOPT by CFLAGS when calling unix/configure script
  6. to create 'flags' file which contains all variables used to build
  7. zip binary.
  8. Signed-off-by: Romain Naour <romain.naour@openwide.fr>
  9. ---
  10. unix/Makefile | 2 +-
  11. 1 file changed, 1 insertion(+), 1 deletion(-)
  12. diff --git a/unix/Makefile b/unix/Makefile
  13. index abd0c44..db62368 100644
  14. --- a/unix/Makefile
  15. +++ b/unix/Makefile
  16. @@ -177,7 +177,7 @@ uninstall:
  17. flags: unix/configure
  18. - sh unix/configure "${CC}" "${CFLAGS_NOOPT}" "${IZ_BZIP2}"
  19. + sh unix/configure "${CC}" "${CFLAGS}" "${IZ_BZIP2}"
  20. # These symbols, when #defined using -D have these effects on compilation:
  21. # ZMEM - includes C language versions of memset(), memcpy(),
  22. --
  23. 1.9.3