forked from mirrors/nixpkgs
d927da8dae
The default setup-hook for gcc-wrapper adds include directories with -isystem, which upsets the order -I flags are processed. This adds an alternative setup-hook that only uses -I flags. The build system's ordering of -I flags is then respected. This is important when different packages provide includes with the same name, such as building packages that depend on Qt4 and Qt5. |
||
---|---|---|
.. | ||
add-flags | ||
default.nix | ||
gcc-wrapper.sh | ||
gnat-wrapper.sh | ||
gnatlink-wrapper.sh | ||
ld-solaris-wrapper.sh | ||
ld-wrapper.sh | ||
setup-hook-stdinc.sh | ||
setup-hook.sh | ||
utils.sh |