mirror of
				https://github.com/facebook/zstd.git
				synced 2025-10-31 08:37:43 +02:00 
			
		
		
		
	make -C tests legacy : minor flag alteration
ZSTD_LEGACY_SUPPORT is a macro constant, so it should be part of CPPFLAGS, instead of CFLAGS
This commit is contained in:
		| @@ -218,8 +218,7 @@ longmatch  : $(ZSTD_OBJECTS) longmatch.c | ||||
| invalidDictionaries : $(ZSTD_OBJECTS) invalidDictionaries.c | ||||
| 	$(CC) $(FLAGS) $^ -o $@$(EXT) | ||||
|  | ||||
| legacy : CFLAGS+= -DZSTD_LEGACY_SUPPORT=4 | ||||
| legacy : CPPFLAGS+= -I$(ZSTDDIR)/legacy | ||||
| legacy : CPPFLAGS += -I$(ZSTDDIR)/legacy -DZSTD_LEGACY_SUPPORT=4 | ||||
| legacy : $(ZSTD_FILES) $(wildcard $(ZSTDDIR)/legacy/*.c) legacy.c | ||||
| 	$(CC) $(FLAGS) $^ -o $@$(EXT) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user