mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-01 12:28:24 +00:00
fix unrar deps errors when compiling with cygwin/msys
This commit is contained in:
parent
ca53e78f7d
commit
52196839c8
@ -217,6 +217,8 @@ ifneq ($(CC),clang)
|
|||||||
CFLAGS_UNRAR += -Wno-class-memaccess
|
CFLAGS_UNRAR += -Wno-class-memaccess
|
||||||
CFLAGS_UNRAR += -Wno-misleading-indentation
|
CFLAGS_UNRAR += -Wno-misleading-indentation
|
||||||
CFLAGS_UNRAR += -Wno-format-overflow
|
CFLAGS_UNRAR += -Wno-format-overflow
|
||||||
|
else
|
||||||
|
CFLAGS_UNRAR += -std=c++11
|
||||||
endif
|
endif
|
||||||
CFLAGS_UNRAR += -Wno-missing-braces
|
CFLAGS_UNRAR += -Wno-missing-braces
|
||||||
CFLAGS_UNRAR += -Wno-unused-variable
|
CFLAGS_UNRAR += -Wno-unused-variable
|
||||||
@ -641,7 +643,7 @@ endif
|
|||||||
ifeq ($(ENABLE_UNRAR),1)
|
ifeq ($(ENABLE_UNRAR),1)
|
||||||
ifeq ($(USE_SYSTEM_UNRAR),0)
|
ifeq ($(USE_SYSTEM_UNRAR),0)
|
||||||
obj/%.UNRAR.NATIVE.o: $(DEPS_UNRAR_PATH)/%.cpp
|
obj/%.UNRAR.NATIVE.o: $(DEPS_UNRAR_PATH)/%.cpp
|
||||||
$(CXX) -std=c++11 -c $(CXXFLAGS) $(CFLAGS_NATIVE) $(CFLAGS_UNRAR) $< -o $@ -fpic
|
$(CXX) -c $(CXXFLAGS) $(CFLAGS_NATIVE) $(CFLAGS_UNRAR) $< -o $@ -fpic
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user