Skip to content

Commit 434820c

Browse files
committed
Added Apple Silicon support
1 parent 1279144 commit 434820c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ Acidanthera dmidecode Changelog
33

44
#### v3.4a
55
- Synced with dmidecode a1a2258f
6+
- Added Apple Silicon support
67

78
#### v3.3c
89
- Fixed compatibility for macOS 10.7+

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ LDFLAGS ?=
3232

3333
UNAME_S := $(shell uname -s)
3434
ifeq ($(UNAME_S),Darwin)
35-
CFLAGS += -mmacosx-version-min=10.7
36-
LDFLAGS += -Wl,-framework,CoreFoundation -Wl,-framework,IOKit -mmacosx-version-min=10.7
35+
CFLAGS += -mmacosx-version-min=10.7 -arch arm64 -arch x86_64
36+
LDFLAGS += -Wl,-framework,CoreFoundation -Wl,-framework,IOKit -mmacosx-version-min=10.7 -arch arm64 -arch x86_64
3737
endif
3838

3939
DESTDIR =

0 commit comments

Comments
 (0)