nixpkgs/pkgs/tools/cd-dvd/nrg2iso/c-compiler.patch
Matthew "strager" Glazar 48f8dbfef3 nrg2iso: compile on Darwin
nrg2iso's build scripts are hard-coded to use GCC. This prevents nrg2iso
from working on Darwin/macOS.

Teach nrg2iso's build scripts to use whatever compiler is installed, not
GCC specifically. This allows nrg2iso to build using Clang on macOS.
2023-04-08 17:53:41 -07:00

12 lines
188 B
Diff

Support building with compilers such as Clang.
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
all: nrg2iso.c
- gcc nrg2iso.c -o nrg2iso
+ cc nrg2iso.c -o nrg2iso
clean:
rm -f nrg2iso