From 2de3700cd8858753a586675b019d01f9e474514b Mon Sep 17 00:00:00 2001 From: Slaven Rezic <cpansand@cvrsnica-freebsd-101.herceg.de> Date: Sun, 8 May 2016 22:10:47 +0200 Subject: [PATCH] don't hardcode gcc, so things work also with clang (RT #114245) --- unzip-6.0/unix/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/unzip-6.0/unix/Makefile b/unzip-6.0/unix/Makefile index ab32270..0998577 100644 --- a/unzip-6.0/unix/Makefile +++ b/unzip-6.0/unix/Makefile @@ -594,13 +594,13 @@ generic_shlib: unix_make @echo\ 'which is UnZip linked with the DLL). This target is an example only.' @echo "" - $(MAKE) objsdll CC=gcc CFLAGS="-O3 -Wall -fPIC -DDLL" - gcc -shared -Wl,-soname,libunzip.so.0 -o libunzip.so.0.4 $(OBJSDLL) + $(MAKE) objsdll CC=cc CFLAGS="-O3 -Wall -fPIC -DDLL" + cc -shared -Wl,-soname,libunzip.so.0 -o libunzip.so.0.4 $(OBJSDLL) $(RM) libunzip.so.0 libunzip.so $(LN) -s libunzip.so.0.4 libunzip.so.0 $(LN) -s libunzip.so.0 libunzip.so - gcc -c -O unzipstb.c - gcc -o unzip_shlib unzipstb.o -L. -lunzip + cc -c -O unzipstb.c + cc -o unzip_shlib unzipstb.o -L. -lunzip #---------------------------------------------------------------------------- # "Autoconfig" group, aliases for the generic targets using configure: -- 2.1.2