mirror of
https://github.com/hashcat/hashcat.git
synced 2025-06-05 15:48:48 +00:00
make native build play well with external build systems
This commit is contained in:
parent
4a598af78c
commit
61efadb684
13
src/Makefile
13
src/Makefile
@ -58,13 +58,14 @@ OPENCL_HEADERS_KHRONOS := deps/OpenCL-Headers
|
|||||||
## Native compiler paths
|
## Native compiler paths
|
||||||
##
|
##
|
||||||
|
|
||||||
CC := gcc
|
CC ?= gcc
|
||||||
FIND := find
|
FIND ?= find
|
||||||
INSTALL := install
|
INSTALL ?= install
|
||||||
RM := rm
|
RM ?= rm
|
||||||
SED := sed
|
|
||||||
ifeq ($(UNAME),Darwin,FreeBSD)
|
ifeq ($(UNAME),Darwin,FreeBSD)
|
||||||
SED := gsed
|
SED ?= gsed
|
||||||
|
else
|
||||||
|
SED ?= sed
|
||||||
endif
|
endif
|
||||||
|
|
||||||
##
|
##
|
||||||
|
Loading…
Reference in New Issue
Block a user