1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-23 07:08:19 +00:00

Merge pull request #2650 from matrix/fix_osx_Makefile_warnings

Fixed build warnings on OSX
This commit is contained in:
Jens Steube 2021-04-27 20:02:21 +02:00 committed by GitHub
commit 2d44626ab2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -198,6 +198,12 @@ endif
## because UNRAR ## because UNRAR
ifeq ($(USE_SYSTEM_UNRAR),0) ifeq ($(USE_SYSTEM_UNRAR),0)
ifneq ($(UNAME),Darwin)
CFLAGS_UNRAR += -Wno-misleading-indentation
CFLAGS_UNRAR += -Wno-class-memaccess
else
CFLAGS_UNRAR += -Wno-missing-braces
endif
CFLAGS_UNRAR += -Wno-unused-variable CFLAGS_UNRAR += -Wno-unused-variable
CFLAGS_UNRAR += -Wno-unused-parameter CFLAGS_UNRAR += -Wno-unused-parameter
CFLAGS_UNRAR += -Wno-unused-function CFLAGS_UNRAR += -Wno-unused-function
@ -205,11 +211,9 @@ CFLAGS_UNRAR += -Wno-sign-compare
CFLAGS_UNRAR += -Wno-dangling-else CFLAGS_UNRAR += -Wno-dangling-else
CFLAGS_UNRAR += -Wno-switch CFLAGS_UNRAR += -Wno-switch
CFLAGS_UNRAR += -Wno-parentheses CFLAGS_UNRAR += -Wno-parentheses
CFLAGS_UNRAR += -Wno-misleading-indentation
CFLAGS_UNRAR += -Wno-implicit-fallthrough CFLAGS_UNRAR += -Wno-implicit-fallthrough
CFLAGS_UNRAR += -Wno-extra CFLAGS_UNRAR += -Wno-extra
CFLAGS_UNRAR += -Wno-unknown-pragmas CFLAGS_UNRAR += -Wno-unknown-pragmas
CFLAGS_UNRAR += -Wno-class-memaccess
endif endif
ifeq ($(DEBUG),0) ifeq ($(DEBUG),0)