package/zlib-ng: drop unrecognized CC variable
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 11 Oct 2020 19:43:56 +0000 (21:43 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 11 Oct 2020 20:30:59 +0000 (22:30 +0200)
Drop unneeded CC variable which is not recognized by cmake:

CMake Warning:
  Manually-specified variables were not used by the project:

    BUILD_DOC
    BUILD_DOCS
    BUILD_EXAMPLE
    BUILD_EXAMPLES
    BUILD_TEST
    BUILD_TESTING
    BUILD_TESTS
    CC

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/zlib-ng/zlib-ng.mk

index 098dfcb28af3de4b3f3e7c28263f30ac7243a52c..3b27574a792e98ce4b76c27033ef637f929b55e7 100644 (file)
@@ -12,7 +12,7 @@ ZLIB_NG_INSTALL_STAGING = YES
 ZLIB_NG_PROVIDES = zlib
 
 # Build with zlib compatible API, gzFile support and optimizations on
-ZLIB_NG_CONF_OPTS += -DZLIB_COMPAT=1 -DWITH_GZFILEOP=1 -DWITH_OPTIM=1 -DCC=$(TARGET_CC)
+ZLIB_NG_CONF_OPTS += -DZLIB_COMPAT=1 -DWITH_GZFILEOP=1 -DWITH_OPTIM=1
 
 # Enable NEON and ACLE on ARM
 ifeq ($(BR2_arm),y)