mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-24 05:00:19 +00:00

Right now we add glibc to search path also -nostdinc was provided, which breaks projects providing their own gcc.
9 lines
170 B
C
9 lines
170 B
C
// This one should not come from libc because of -nostdinc
|
|
#include <stdio.h>
|
|
|
|
int main(int argc, char *argv[]) {
|
|
// provided by our own stdio.h
|
|
foo();
|
|
return 0;
|
|
}
|