diff options
Diffstat (limited to 'src/third_party/zstandard/zstd/programs/Makefile')
-rw-r--r-- | src/third_party/zstandard/zstd/programs/Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/third_party/zstandard/zstd/programs/Makefile b/src/third_party/zstandard/zstd/programs/Makefile index a54900cc1e9..f77e1b7f10f 100644 --- a/src/third_party/zstandard/zstd/programs/Makefile +++ b/src/third_party/zstandard/zstd/programs/Makefile @@ -62,8 +62,6 @@ else EXT = endif -VOID = /dev/null - # thread detection NO_THREAD_MSG := ==> no threads, building without multithreading support HAVE_PTHREAD := $(shell printf '$(NUM_SYMBOL)include <pthread.h>\nint main(void) { return 0; }' > have_pthread.c && $(CC) $(FLAGS) -o have_pthread$(EXT) have_pthread.c -pthread 2> $(VOID) && rm have_pthread$(EXT) && echo 1 || echo 0; rm have_pthread.c) @@ -322,7 +320,7 @@ $(BUILD_DIR)/%.o : %.c $(BUILD_DIR)/%.d | $(BUILD_DIR) $(BUILD_DIR)/%.o : %.S | $(BUILD_DIR) @echo AS $@ - $(COMPILE.c) $(OUTPUT_OPTION) $< + $(COMPILE.S) $(OUTPUT_OPTION) $< MKDIR ?= mkdir $(BUILD_DIR): ; $(MKDIR) -p $@ |