mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-01 12:28:24 +00:00
Fix includes in Makefile
This commit is contained in:
parent
0413314ae4
commit
0a6fc35707
@ -195,7 +195,7 @@ endif
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CFLAGS += -pipe -std=gnu99 -Iinclude/
|
CFLAGS += -pipe -std=gnu99 -Iinclude/ -IOpenCL/
|
||||||
|
|
||||||
# LZMA
|
# LZMA
|
||||||
CFLAGS += -I$(DEPS_LZMA_PATH)
|
CFLAGS += -I$(DEPS_LZMA_PATH)
|
||||||
@ -221,7 +221,6 @@ endif
|
|||||||
|
|
||||||
ifeq ($(UNAME),Linux)
|
ifeq ($(UNAME),Linux)
|
||||||
CFLAGS_NATIVE := $(CFLAGS)
|
CFLAGS_NATIVE := $(CFLAGS)
|
||||||
CFLAGS_NATIVE += -I$(OPENCL_HEADERS_KHRONOS)/
|
|
||||||
CFLAGS_NATIVE += -DWITH_HWMON
|
CFLAGS_NATIVE += -DWITH_HWMON
|
||||||
LFLAGS_NATIVE := $(LFLAGS)
|
LFLAGS_NATIVE := $(LFLAGS)
|
||||||
LFLAGS_NATIVE += -lpthread
|
LFLAGS_NATIVE += -lpthread
|
||||||
@ -233,7 +232,6 @@ endif # Linux
|
|||||||
ifeq ($(UNAME),FreeBSD)
|
ifeq ($(UNAME),FreeBSD)
|
||||||
ifndef PORTNAME
|
ifndef PORTNAME
|
||||||
CFLAGS_NATIVE := $(CFLAGS)
|
CFLAGS_NATIVE := $(CFLAGS)
|
||||||
CFLAGS_NATIVE += -I$(OPENCL_HEADERS_KHRONOS)/
|
|
||||||
LFLAGS_NATIVE := $(LFLAGS)
|
LFLAGS_NATIVE := $(LFLAGS)
|
||||||
LFLAGS_NATIVE += -lpthread
|
LFLAGS_NATIVE += -lpthread
|
||||||
LFLAGS_NATIVE += -lm
|
LFLAGS_NATIVE += -lm
|
||||||
@ -256,7 +254,6 @@ endif # Darwin
|
|||||||
|
|
||||||
ifeq ($(UNAME),CYGWIN)
|
ifeq ($(UNAME),CYGWIN)
|
||||||
CFLAGS_NATIVE := $(CFLAGS)
|
CFLAGS_NATIVE := $(CFLAGS)
|
||||||
CFLAGS_NATIVE += -I$(OPENCL_HEADERS_KHRONOS)/
|
|
||||||
CFLAGS_NATIVE += -DWITH_HWMON
|
CFLAGS_NATIVE += -DWITH_HWMON
|
||||||
LFLAGS_NATIVE := $(LFLAGS)
|
LFLAGS_NATIVE := $(LFLAGS)
|
||||||
LFLAGS_NATIVE += -Wl,--dynamicbase
|
LFLAGS_NATIVE += -Wl,--dynamicbase
|
||||||
@ -267,7 +264,6 @@ endif # CYGWIN
|
|||||||
|
|
||||||
ifeq ($(UNAME),MSYS2)
|
ifeq ($(UNAME),MSYS2)
|
||||||
CFLAGS_NATIVE := $(CFLAGS)
|
CFLAGS_NATIVE := $(CFLAGS)
|
||||||
CFLAGS_NATIVE += -I$(OPENCL_HEADERS_KHRONOS)/
|
|
||||||
CFLAGS_NATIVE += -DWITH_HWMON
|
CFLAGS_NATIVE += -DWITH_HWMON
|
||||||
LFLAGS_NATIVE := $(LFLAGS)
|
LFLAGS_NATIVE := $(LFLAGS)
|
||||||
LFLAGS_NATIVE += -Wl,--dynamicbase
|
LFLAGS_NATIVE += -Wl,--dynamicbase
|
||||||
@ -545,11 +541,9 @@ WIN_ICONV := /opt/win-iconv-64
|
|||||||
|
|
||||||
CFLAGS_CROSS_LINUX := $(CFLAGS)
|
CFLAGS_CROSS_LINUX := $(CFLAGS)
|
||||||
CFLAGS_CROSS_LINUX += -fPIC
|
CFLAGS_CROSS_LINUX += -fPIC
|
||||||
CFLAGS_CROSS_LINUX += -I$(OPENCL_HEADERS_KHRONOS)/
|
|
||||||
CFLAGS_CROSS_LINUX += -DWITH_HWMON
|
CFLAGS_CROSS_LINUX += -DWITH_HWMON
|
||||||
CFLAGS_CROSS_WIN := $(CFLAGS)
|
CFLAGS_CROSS_WIN := $(CFLAGS)
|
||||||
CFLAGS_CROSS_WIN += -fPIC
|
CFLAGS_CROSS_WIN += -fPIC
|
||||||
CFLAGS_CROSS_WIN += -I$(OPENCL_HEADERS_KHRONOS)/
|
|
||||||
CFLAGS_CROSS_WIN += -I$(WIN_ICONV)/include/
|
CFLAGS_CROSS_WIN += -I$(WIN_ICONV)/include/
|
||||||
CFLAGS_CROSS_WIN += -DWITH_HWMON
|
CFLAGS_CROSS_WIN += -DWITH_HWMON
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user