1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-01-03 12:21:07 +00:00

Merge pull request #3731 from matrix/fix_Makefile_AppleSilicon

Makefile: prevent make failure with Apple Silicon in case of partial rebuild
This commit is contained in:
Jens Steube 2023-05-25 15:02:03 +02:00 committed by GitHub
commit 1c9bf037bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -107,6 +107,7 @@
- User Options: added --metal-compiler-runtime option - User Options: added --metal-compiler-runtime option
- Hardware Monitor: avoid sprintf in src/ext_iokit.c - Hardware Monitor: avoid sprintf in src/ext_iokit.c
- Help: show supported hash-modes only with -hh - Help: show supported hash-modes only with -hh
- Makefile: prevent make failure with Apple Silicon in case of partial rebuild
- Unit tests: add test modules for hash-modes 31500 and 31600 and handle them in tools/test.pl - Unit tests: add test modules for hash-modes 31500 and 31600 and handle them in tools/test.pl
* changes v6.2.5 -> v6.2.6 * changes v6.2.5 -> v6.2.6

View File

@ -646,6 +646,11 @@ endif
endif endif
obj/combined.NATIVE.a: $(NATIVE_OBJS) obj/combined.NATIVE.a: $(NATIVE_OBJS)
ifeq ($(UNAME),Darwin)
ifeq ($(IS_APPLE_SILICON),1)
$(RM) -f obj/combined.NATIVE.a
endif
endif
$(AR) rcs $@ $^ $(AR) rcs $@ $^
ifeq ($(UNAME),Darwin) ifeq ($(UNAME),Darwin)