Skip to content

Commit 340cc31

Browse files
committed
elfutils: build out of tree on libc++
`elfutils` has a `stack` binary built in `src`. When built in source tree this breaks when `#include <stack>` is transitively included in `libc++` via `<iostream>`. The trigger set of options is `-I $(srcdir)` which turns to `-I .` with `./stack` present. The fix turns the above to `-I ../src` without `./stack` present. The change is conditional on `LLVM` to avoid `stdenv` rebuild. We will turn it into unconditional in `staging` once this gets merged. While at it dropped `CFLAGS` / `CXXFLAGS` overrides.
1 parent f897369 commit 340cc31

File tree

2 files changed

+52
-393
lines changed

2 files changed

+52
-393
lines changed

pkgs/by-name/el/elfutils/cxx-header-collision.patch

Lines changed: 0 additions & 338 deletions
This file was deleted.

0 commit comments

Comments
 (0)