zip/zip-fix-cc.patch
luofeng14 b4463edfc9
support clang build
Signed-off-by: luofeng14 <luofeng13@huawei.com>
2024-02-04 02:05:53 +00:00

12 lines
272 B
Diff

--- a/unix/Makefile 2008-05-07 14:33:56.000000000 +0800
+++ b/unix/Makefile 2023-04-16 16:14:10.611625606 +0800
@@ -22,7 +22,7 @@
LN = ln -s
# (to use the GNU compiler, change cc to gcc in CC)
-CC = cc
+CC ?= cc
BIND = $(CC)
AS = $(CC) -c
CPP = /lib/cpp