mirror of
https://github.com/facebook/zstd.git
synced 2025-07-29 11:21:22 +03:00
Makefiles: Add noexecstack
Options to Compilation and Linking
Hopefully this marks the binary artifacts `noexecstack` even on platforms where binaries default to true.
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user