Files
nixpkgs/pkgs/by-name/de/dedup-darwin/no-codesign.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
484 B
Diff
Raw Normal View History

2025-10-09 14:15:47 +02:00
Entitlements & code signature are only needed
for ASAN and other debugging tools.
See official README for more details.
diff --git a/Makefile b/Makefile
index c9c56ec..36b81e0 100644
--- a/Makefile
+++ b/Makefile
@@ -63,9 +63,6 @@ dedup.x86_64: CFLAGS += -target x86_64-apple-macos11
dedup dedup.arm dedup.x86_64: $(OBJECTS)
$(CC) $(CFLAGS) -o $@ $^
- mv $@ $@.unsigned
- codesign -s - -v -f $(ENTITLEMENT_FLAGS) $@.unsigned
- mv $@.unsigned $@
dedup.universal:
rm -f *.o