summary refs log tree commit diff
path: root/pkgs/stdenv/freebsd/prehook.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/stdenv/freebsd/prehook.sh')
-rw-r--r--pkgs/stdenv/freebsd/prehook.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/stdenv/freebsd/prehook.sh b/pkgs/stdenv/freebsd/prehook.sh
index 5dcc55fdf077..a82f5d21dfce 100644
--- a/pkgs/stdenv/freebsd/prehook.sh
+++ b/pkgs/stdenv/freebsd/prehook.sh
@@ -1,4 +1,7 @@
 export NIX_ENFORCE_PURITY=
 alias make=gmake
 export MAKE=gmake
-shopt -s expand_aliases
\ No newline at end of file
+shopt -s expand_aliases
+
+# Filter out stupid GCC warnings (in gcc-wrapper).
+export NIX_GCC_NEEDS_GREP=1