File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ void build_boringssl(const char *arch) {
75
75
76
76
#ifdef IS_MACOS
77
77
/* Build for x64 (the host) */
78
- run ("cd uWebSockets/uSockets/boringssl && mkdir -p x64 && cd x64 && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_DEPLOYMENT_TARGET=12.0 .. && make crypto ssl" );
78
+ run ("cd uWebSockets/uSockets/boringssl && mkdir -p x64 && cd x64 && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_ARCHITECTURES=x86_64 .. && make crypto ssl" );
79
79
80
80
/* Build for arm64 (cross compile) */
81
81
run ("cd uWebSockets/uSockets/boringssl && mkdir -p arm64 && cd arm64 && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_ARCHITECTURES=arm64 .. && make crypto ssl" );
@@ -154,8 +154,8 @@ int main() {
154
154
#ifdef IS_MACOS
155
155
156
156
/* Apple special case */
157
- build ("clang -mmacosx-version-min=12.0 " ,
158
- "clang++ -stdlib=libc++ -mmacosx-version-min=12.0 " ,
157
+ build ("clang -target x86_64-apple-macos12 " ,
158
+ "clang++ -stdlib=libc++ -target x86_64-apple-macos12 " ,
159
159
"-undefined dynamic_lookup" ,
160
160
OS ,
161
161
X64 );
You can’t perform that action at this time.
0 commit comments