Forward the current compiler to the zlib configure script.
authorPat Thoyts <patthoyts@users.sourceforge.net>
Sun, 11 Jul 2010 18:08:48 +0000 (19:08 +0100)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Sun, 11 Jul 2010 18:08:48 +0000 (19:08 +0100)
This ensures that if CC has been defined to something this is picked up
by the zlib configure when we call it (needed for android build).

Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
makefile.include

index 19aa8c91330b3a0ac2a77e6d5317e2508adeb038..339c54bea191307f8cea3bbc9cca9277ff789aff 100644 (file)
@@ -97,7 +97,7 @@ build/vqtcl: build/tcl
 
 build/zlib: build/tcl
        cp -R ../../8.x/zlib/. $@
-       cd $@ && sh configure && \
+       cd $@ && CC=$(CC) sh configure && \
        $(MAKE) install prefix=..
 
 base: build/tcl build/tk