]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
zlibwrapper : fixed flag-variable name
authorYann Collet <cyan@fb.com>
Thu, 3 Oct 2019 00:41:19 +0000 (17:41 -0700)
committerYann Collet <cyan@fb.com>
Thu, 3 Oct 2019 00:41:19 +0000 (17:41 -0700)
release doesn't use specific std/debug flags

zlibWrapper/Makefile

index f8ade82821c3abe2b7086c7c461c1533aa905305..f63291c902f30c9551a80828bafdb7eb0ca08e89 100644 (file)
@@ -20,7 +20,7 @@ TEST_FILE = ../doc/zstd_compression_format.md
 
 CPPFLAGS += -DXXH_NAMESPACE=ZSTD_ -I$(ZLIB_PATH) -I$(PROGRAMS_PATH)       \
             -I$(ZSTDLIBDIR) -I$(ZSTDLIBDIR)/common -I$(ZLIBWRAPPER_PATH)
-STDCFLAGS = -std=c90 -pedantic -Wno-long-long -Wno-variadic-macros -Wc++-compat \
+STDFLAGS  = -std=c90 -pedantic -Wno-long-long -Wno-variadic-macros -Wc++-compat \
             -DNO_snprintf -DNO_vsnprintf  # strict ISO C90 is missing these prototypes
 DEBUGFLAGS= -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wswitch-enum \
             -Wdeclaration-after-statement -Wstrict-prototypes -Wundef     \
@@ -38,7 +38,7 @@ endif
 default : release
 
 release : STDFLAGS =
-release : STDCPPFLAGS =
+release : DEBUGFLAGS =
 release : all
 
 all: fitblk example zwrapbench minigzip