mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 02:59:33 +07:00
Update make.sh fules for restarter and fsnotifier to generate binaries in universal format
GitOrigin-RevId: 4a3a4b3007e64f37b511d82dfc3a4825acdd3953
This commit is contained in:
committed by
intellij-monorepo-bot
parent
a302dcccc1
commit
625da1c6c7
@@ -1,3 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
clang -arch x86_64 -mmacosx-version-min=10.8 -framework AppKit -lobjc -o restarter restarter.m
|
||||
clang -arch x86_64 -mmacosx-version-min=10.8 -framework AppKit -lobjc -o restarter_x86_64 restarter.m
|
||||
clang -arch arm64 -mmacosx-version-min=10.8 -framework AppKit -lobjc -o restarter_arm64 restarter.m
|
||||
lipo -create restarter_x86_64 restarter_arm64 -o restarter
|
||||
rm restarter_arm64
|
||||
rm restarter_x86_64
|
||||
@@ -2,4 +2,8 @@
|
||||
|
||||
C_FLAGS="-std=c11 -O2 -Wall -Wextra -Wpedantic -Wno-newline-eof"
|
||||
|
||||
clang -arch x86_64 -mmacosx-version-min=10.8 -framework CoreServices -std=c11 $C_FLAGS -o fsnotifier fsnotifier.c
|
||||
clang -arch x86_64 -mmacosx-version-min=10.8 -framework CoreServices -std=c11 $C_FLAGS -o fsnotifier_x86_64 fsnotifier.c
|
||||
clang -arch arm64 -mmacosx-version-min=10.8 -framework CoreServices -std=c11 $C_FLAGS -o fsnotifier_arm64 fsnotifier.c
|
||||
lipo -create fsnotifier_x86_64 fsnotifier_arm64 -o fsnotifier
|
||||
rm fsnotifier_arm64
|
||||
rm fsnotifier_x86_64
|
||||
Reference in New Issue
Block a user