mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 22:53:42 +00:00
48f8dbfef3
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.
12 lines
188 B
Diff
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
|