mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01: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.
11 lines
188 B
Diff
11 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
|