mirror of
https://github.com/facebook/zstd.git
synced 2025-12-07 00:02:39 -05:00
commit
7d85f354fd
4
Makefile
4
Makefile
@ -351,9 +351,9 @@ cmakebuild:
|
|||||||
mkdir $(BUILDIR)/cmake/build
|
mkdir $(BUILDIR)/cmake/build
|
||||||
cd $(BUILDIR)/cmake/build ; cmake -DCMAKE_INSTALL_PREFIX:PATH=~/install_test_dir $(CMAKE_PARAMS) .. ; $(MAKE) install ; $(MAKE) uninstall
|
cd $(BUILDIR)/cmake/build ; cmake -DCMAKE_INSTALL_PREFIX:PATH=~/install_test_dir $(CMAKE_PARAMS) .. ; $(MAKE) install ; $(MAKE) uninstall
|
||||||
|
|
||||||
c90build: clean
|
c89build: clean
|
||||||
$(CC) -v
|
$(CC) -v
|
||||||
CFLAGS="-std=c90 -Werror" $(MAKE) allmost # will fail, due to missing support for `long long`
|
CFLAGS="-std=c89 -Werror" $(MAKE) allmost # will fail, due to missing support for `long long`
|
||||||
|
|
||||||
gnu90build: clean
|
gnu90build: clean
|
||||||
$(CC) -v
|
$(CC) -v
|
||||||
|
|||||||
@ -20,8 +20,8 @@ TEST_FILE = ../doc/zstd_compression_format.md
|
|||||||
|
|
||||||
CPPFLAGS += -DXXH_NAMESPACE=ZSTD_ -I$(ZLIB_PATH) -I$(PROGRAMS_PATH) \
|
CPPFLAGS += -DXXH_NAMESPACE=ZSTD_ -I$(ZLIB_PATH) -I$(PROGRAMS_PATH) \
|
||||||
-I$(ZSTDLIBDIR) -I$(ZSTDLIBDIR)/common -I$(ZLIBWRAPPER_PATH)
|
-I$(ZSTDLIBDIR) -I$(ZSTDLIBDIR)/common -I$(ZLIBWRAPPER_PATH)
|
||||||
STDFLAGS = -std=c90 -pedantic -Wno-long-long -Wno-variadic-macros -Wc++-compat \
|
STDFLAGS = -std=c89 -pedantic -Wno-long-long -Wno-variadic-macros -Wc++-compat \
|
||||||
-DNO_snprintf -DNO_vsnprintf # strict ISO C90 is missing these prototypes
|
-DNO_snprintf -DNO_vsnprintf # strict ANSI C89 is missing these prototypes
|
||||||
DEBUGFLAGS= -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wswitch-enum \
|
DEBUGFLAGS= -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wswitch-enum \
|
||||||
-Wdeclaration-after-statement -Wstrict-prototypes -Wundef \
|
-Wdeclaration-after-statement -Wstrict-prototypes -Wundef \
|
||||||
-Wstrict-aliasing=1
|
-Wstrict-aliasing=1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user