-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pinentry-mac: fix building for apple silicon
- Loading branch information
Showing
2 changed files
with
43 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
From cc38341adc179a26ac3ea3754a4013afb9681930 Mon Sep 17 00:00:00 2001 | ||
From: Kridsada Thanabulpong <[email protected]> | ||
Date: Wed, 30 Dec 2020 19:10:46 +0900 | ||
Subject: [PATCH] Add arm64 to build targets | ||
|
||
This allows pinentry-mac to be built on Apple Silicon with macOS 11 | ||
--- | ||
pinentry-mac.xcodeproj/project.pbxproj | 4 ++-- | ||
1 file changed, 2 insertions(+), 2 deletions(-) | ||
|
||
diff --git a/pinentry-mac.xcodeproj/project.pbxproj b/pinentry-mac.xcodeproj/project.pbxproj | ||
index f8f55b3..861fe43 100755 | ||
--- a/pinentry-mac.xcodeproj/project.pbxproj | ||
+++ b/pinentry-mac.xcodeproj/project.pbxproj | ||
@@ -421,7 +421,7 @@ | ||
); | ||
PREBINDING = NO; | ||
SDKROOT = macosx; | ||
- VALID_ARCHS = "i386 x86_64 ppc"; | ||
+ VALID_ARCHS = "i386 x86_64 ppc arm64"; | ||
}; | ||
name = Debug; | ||
}; | ||
@@ -444,7 +444,7 @@ | ||
); | ||
PREBINDING = NO; | ||
SDKROOT = macosx; | ||
- VALID_ARCHS = "i386 x86_64 ppc"; | ||
+ VALID_ARCHS = "i386 x86_64 ppc arm64"; | ||
}; | ||
name = Release; | ||
}; | ||
-- | ||
2.29.2 | ||
|
The revision should only be increased if there's a reason someone who already had the port installed would need to reinstall it.