Skip to content

Commit

Permalink
Use Makefile compiler for minizip-test target.
Browse files Browse the repository at this point in the history
  • Loading branch information
madler committed Jan 21, 2024
1 parent 88ec246 commit c06dfec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ zconf: $(SRCDIR)zconf.h.in
cp -p $(SRCDIR)zconf.h.in zconf.h

minizip-test: static
cd contrib/minizip && { CFLAGS="$(CFLAGS)" $(MAKE) test ; cd ../.. ; }
cd contrib/minizip && { CC="$(CC)" CFLAGS="$(CFLAGS)" $(MAKE) test ; cd ../.. ; }

minizip-clean:
cd contrib/minizip && { $(MAKE) clean ; cd ../.. ; }
Expand Down
2 changes: 1 addition & 1 deletion contrib/minizip/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CC=cc
CC?=cc
CFLAGS := $(CFLAGS) -O -I../..

UNZ_OBJS = miniunz.o unzip.o ioapi.o ../../libz.a
Expand Down

0 comments on commit c06dfec

Please sign in to comment.