mirror of https://github.com/svaarala/duktape.git
Browse Source
This is a little bit of a subtle issue. The way NixOS/Nixpkgs work, they typically wrap binaries (such as the compiler) with more complicated wrappers to handle the paths established in Nixpkgs store and other features. In this case, the feature that's interfering with normal flow is hardening. Without going into too much detail, there's no way to disable _FORTIFY_SOURCE as it is always passed after any passed arguments. Something like `gcc <PARAMETERS> -D_FORTIFY_SOURCE`. However, this doesn't play well with musl (see https://wiki.musl-libc.org/future-ideas.html) Solution: disable `_FORTIFY_SOURCE` if glibc is not presentpull/1959/head
Yurii Rashkovskii
6 years ago
committed by
GitHub
1 changed files with 4 additions and 0 deletions
Loading…
Reference in new issue