Skip to content

Commit

Permalink
darwin.trash: fix on aarch64-darwin
Browse files Browse the repository at this point in the history
None of these clang options should be necessary with the nixpkgs stdenv
infrastructure, and the -arch was breaking Apple Silicon builds.
  • Loading branch information
emilazy committed Sep 14, 2021
1 parent bca7162 commit 35a1ca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/os-specific/darwin/trash/trash.diff
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ index 5e4306f..9c975fc 100644
@echo ---- Compiling:
@echo ======================================
- $(CC) -O2 -Wall -Wextra -Wpartial-availability -Wno-unguarded-availability -force_cpusubtype_ALL -mmacosx-version-min=10.7 -arch i386 -arch x86_64 -framework AppKit -framework ScriptingBridge -o $@ $(SOURCE_FILES)
+ $(CC) -O2 -Wall -Wextra -Wpartial-availability -Wno-unguarded-availability -force_cpusubtype_ALL -mmacosx-version-min=10.7 -arch x86_64 -framework AppKit -framework ScriptingBridge -o $@ $(SOURCE_FILES)
+ $(CC) -O2 -Wall -Wextra -Wpartial-availability -Wno-unguarded-availability -framework AppKit -framework ScriptingBridge -o $@ $(SOURCE_FILES)

analyze:
@echo

0 comments on commit 35a1ca8

Please sign in to comment.