mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 08:43:06 +00:00
ef401a3702
- Use GNU's cpp instead of Apple's (see #304528) - Use clang and clang++ on darwin-aarch64 - Update from 20230801_a -> 20240401_a Closes #304516
18 lines
415 B
Diff
18 lines
415 B
Diff
diff --git a/admin/Makefile.def b/admin/Makefile.def
|
|
index 0395d9d4f0..932d18f102 100644
|
|
--- a/admin/Makefile.def
|
|
+++ b/admin/Makefile.def
|
|
@@ -228,7 +228,11 @@ GLOBAL_DIRTY = $(builddir) *~ TAGS ChangeLog* Makefile.bak
|
|
# Fortran preprocessing
|
|
|
|
# Preprocessor command
|
|
-CPP = cpp
|
|
+ifdef GAG_CPP
|
|
+ CPP = $(GAG_CPP)
|
|
+else
|
|
+ CPP = cpp
|
|
+endif
|
|
|
|
# Preprocessor generic flags
|
|
GLOBAL_CPPFLAGS += -P -traditional -C
|