summary refs log tree commit diff
path: root/pkgs/test/cc-wrapper/stdio.h
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2020-07-01 21:55:06 +0100
committerJörg Thalheim <joerg@thalheim.io>2020-07-23 08:39:46 +0100
commit96092dc93640b8ad6520a8bae6f78d62eaba0ec2 (patch)
treeda92599db20e876969400bb19fd7220e1d4f06f1 /pkgs/test/cc-wrapper/stdio.h
parent434a0111f6a7618a7024b637c5496ea261b23016 (diff)
downloadnixpkgs-96092dc93640b8ad6520a8bae6f78d62eaba0ec2.tar
nixpkgs-96092dc93640b8ad6520a8bae6f78d62eaba0ec2.tar.gz
nixpkgs-96092dc93640b8ad6520a8bae6f78d62eaba0ec2.tar.bz2
nixpkgs-96092dc93640b8ad6520a8bae6f78d62eaba0ec2.tar.lz
nixpkgs-96092dc93640b8ad6520a8bae6f78d62eaba0ec2.tar.xz
nixpkgs-96092dc93640b8ad6520a8bae6f78d62eaba0ec2.tar.zst
nixpkgs-96092dc93640b8ad6520a8bae6f78d62eaba0ec2.zip
stdenv: make -nostdinc work as intended
Right now we add glibc to search path also -nostdinc was provided,
which breaks projects providing their own gcc.
Diffstat (limited to 'pkgs/test/cc-wrapper/stdio.h')
-rw-r--r--pkgs/test/cc-wrapper/stdio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/test/cc-wrapper/stdio.h b/pkgs/test/cc-wrapper/stdio.h
new file mode 100644
index 00000000000..4bddf1d9d48
--- /dev/null
+++ b/pkgs/test/cc-wrapper/stdio.h
@@ -0,0 +1 @@
+static void foo(void) {}