mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-27 02:18:21 +00:00
Hand merged https://github.com/hashcat/hashcat/pull/533
This commit is contained in:
parent
2a5545d2b7
commit
60000136fe
18
src/Makefile
18
src/Makefile
@ -102,6 +102,15 @@ CFLAGS += -fsanitize=address -fno-omit-frame-pointer
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
##
|
||||||
|
## Linker flags
|
||||||
|
##
|
||||||
|
ifndef DEBUG
|
||||||
|
LDFLAGS += -s
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
##
|
##
|
||||||
## Native compilation target
|
## Native compilation target
|
||||||
##
|
##
|
||||||
@ -118,9 +127,6 @@ endif # darwin
|
|||||||
|
|
||||||
ifeq ($(UNAME),Linux)
|
ifeq ($(UNAME),Linux)
|
||||||
CFLAGS_NATIVE :=
|
CFLAGS_NATIVE :=
|
||||||
ifndef DEBUG
|
|
||||||
CFLAGS_NATIVE += -s
|
|
||||||
endif
|
|
||||||
CFLAGS_NATIVE += $(CFLAGS)
|
CFLAGS_NATIVE += $(CFLAGS)
|
||||||
LFLAGS_NATIVE := -lpthread -ldl
|
LFLAGS_NATIVE := -lpthread -ldl
|
||||||
CFLAGS_NATIVE += -DWITH_HWMON
|
CFLAGS_NATIVE += -DWITH_HWMON
|
||||||
@ -139,17 +145,11 @@ endif # freebsd
|
|||||||
##
|
##
|
||||||
|
|
||||||
CFLAGS_CROSS_LINUX :=
|
CFLAGS_CROSS_LINUX :=
|
||||||
ifndef DEBUG
|
|
||||||
CFLAGS_CROSS_LINUX += -s
|
|
||||||
endif
|
|
||||||
CFLAGS_CROSS_LINUX += $(CFLAGS)
|
CFLAGS_CROSS_LINUX += $(CFLAGS)
|
||||||
CFLAGS_CROSS_LINUX += -DWITH_HWMON
|
CFLAGS_CROSS_LINUX += -DWITH_HWMON
|
||||||
|
|
||||||
#CFLAGS_CROSS_WIN := -D_WIN -DWIN -D__MSVCRT__ -D__USE_MINGW_ANSI_STDIO=1
|
#CFLAGS_CROSS_WIN := -D_WIN -DWIN -D__MSVCRT__ -D__USE_MINGW_ANSI_STDIO=1
|
||||||
CFLAGS_CROSS_WIN :=
|
CFLAGS_CROSS_WIN :=
|
||||||
ifndef DEBUG
|
|
||||||
CFLAGS_CROSS_WIN += -s
|
|
||||||
endif
|
|
||||||
CFLAGS_CROSS_WIN += $(filter-out -fsanitize=address,$(CFLAGS))
|
CFLAGS_CROSS_WIN += $(filter-out -fsanitize=address,$(CFLAGS))
|
||||||
CFLAGS_CROSS_WIN += -DWITH_HWMON
|
CFLAGS_CROSS_WIN += -DWITH_HWMON
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user