mirror of
https://github.com/hashcat/hashcat.git
synced 2025-01-22 21:51:07 +00:00
Building: Removed compiler option -march=native as this created problems for maintainers on various distributions
This commit is contained in:
parent
c3251cebd8
commit
5f58a25dcc
@ -59,6 +59,7 @@
|
||||
|
||||
- Building: Add SHARED variable to Makefile to choose if hashcat is build as static or shared binary (using libhashcat.so/hashcat.dll)
|
||||
- Building: Removed the use of RPATH on linker level
|
||||
- Building: Removed compiler option -march=native as this created problems for maintainers on various distributions
|
||||
- Building: Replaced linking of CRT_glob.o with the use of int _dowildcard
|
||||
- Commandline: Do some checks related to custom-charset options if user specifies them
|
||||
- CPU Affinity: Fixed memory leak in case invalid cpu Id was specified
|
||||
|
@ -182,7 +182,6 @@ endif
|
||||
ifeq ($(UNAME),Linux)
|
||||
CFLAGS_NATIVE := $(CFLAGS)
|
||||
CFLAGS_NATIVE += -I$(OPENCL_HEADERS_KHRONOS)/
|
||||
CFLAGS_NATIVE += -march=native
|
||||
CFLAGS_NATIVE += -DWITH_HWMON
|
||||
LFLAGS_NATIVE := $(LFLAGS)
|
||||
LFLAGS_NATIVE += -lpthread -ldl
|
||||
@ -192,7 +191,6 @@ ifeq ($(UNAME),FreeBSD)
|
||||
ifndef PORTNAME
|
||||
CFLAGS_NATIVE := $(CFLAGS)
|
||||
CFLAGS_NATIVE += -I$(OPENCL_HEADERS_KHRONOS)/
|
||||
CFLAGS_NATIVE += -march=native
|
||||
LFLAGS_NATIVE := $(LFLAGS)
|
||||
LFLAGS_NATIVE += -lpthread
|
||||
endif
|
||||
@ -201,7 +199,6 @@ endif # FreeBSD
|
||||
ifeq ($(UNAME),Darwin)
|
||||
export MACOSX_DEPLOYMENT_TARGET=10.9
|
||||
CFLAGS_NATIVE := $(CFLAGS)
|
||||
CFLAGS_NATIVE += -march=native
|
||||
LFLAGS_NATIVE := $(LFLAGS)
|
||||
LFLAGS_NATIVE += -framework OpenCL
|
||||
LFLAGS_NATIVE += -lpthread
|
||||
@ -210,7 +207,6 @@ endif # Darwin
|
||||
ifeq ($(UNAME),CYGWIN)
|
||||
CFLAGS_NATIVE := $(CFLAGS)
|
||||
CFLAGS_NATIVE += -I$(OPENCL_HEADERS_KHRONOS)/
|
||||
CFLAGS_NATIVE += -march=native
|
||||
CFLAGS_NATIVE += -DWITH_HWMON
|
||||
LFLAGS_NATIVE := $(LFLAGS)
|
||||
LFLAGS_NATIVE += -Wl,--dynamicbase -Wl,--nxcompat
|
||||
@ -220,7 +216,6 @@ endif # CYGWIN
|
||||
ifeq ($(UNAME),MSYS2)
|
||||
CFLAGS_NATIVE := $(CFLAGS)
|
||||
CFLAGS_NATIVE += -I$(OPENCL_HEADERS_KHRONOS)/
|
||||
CFLAGS_NATIVE += -march=native
|
||||
CFLAGS_NATIVE += -DWITH_HWMON
|
||||
LFLAGS_NATIVE := $(LFLAGS)
|
||||
LFLAGS_NATIVE += -Wl,--dynamicbase -Wl,--nxcompat
|
||||
|
Loading…
Reference in New Issue
Block a user