use native compiler on FreeBSD
[hashcat.git] / src / Makefile
index 15a205f..b6730b8 100644 (file)
@@ -58,14 +58,17 @@ OPENCL_HEADERS_KHRONOS   := deps/OpenCL-Headers
 ## Native compiler paths
 ##
 
-CC                       ?= gcc
-FIND                     ?= find
-INSTALL                  ?= install
-RM                       ?= rm
-ifeq ($(UNAME),Darwin,FreeBSD)
-SED                      ?= gsed
-else
-SED                      ?= sed
+CC                       := gcc
+FIND                     := find
+INSTALL                  := install
+RM                       := rm
+SED                      := sed
+ifeq ($(UNAME),Darwin)
+SED                      := gsed
+endif
+ifeq ($(UNAME),FreeBSD)
+CC                       := cc
+SED                      := gsed
 endif
 
 ##