yabai: remove Mach-O UUIDs
Darwin ld emits LC_UUID by default. yabai also embeds the scripting-addition payload and loader binaries into the final executable, so UUIDs from those intermediate Mach-O files make rebuilds differ. Pass -Wl,-no_uuid through the existing clang substitution so the main binary and embedded OSAX binaries are deterministic.
This commit is contained in:
@@ -65,6 +65,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
"-isystem ${lib.getDev cups}/include"
|
||||
"-F$(SDKROOT)/System/Library/Frameworks"
|
||||
"-L$(SDKROOT)/usr/lib"
|
||||
"-Wl,-no_uuid"
|
||||
];
|
||||
in
|
||||
''
|
||||
|
||||
Reference in New Issue
Block a user