diff options
Diffstat (limited to 'sys-devel/llvm/llvm-3.8.0-r3.ebuild')
-rw-r--r-- | sys-devel/llvm/llvm-3.8.0-r3.ebuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-devel/llvm/llvm-3.8.0-r3.ebuild b/sys-devel/llvm/llvm-3.8.0-r3.ebuild index bc84e8fc5637..0b38f2e58fac 100644 --- a/sys-devel/llvm/llvm-3.8.0-r3.ebuild +++ b/sys-devel/llvm/llvm-3.8.0-r3.ebuild @@ -214,8 +214,8 @@ src_prepare() { # Fix WX sections, bug #421527 find lib/builtins -type f -name '*.S' -exec sed \ - -e '$a\\n#if defined(__linux__) && defined(__ELF__)\n.section .note.GNU-stack,"",%progbits\n#endif' \ - -i {} + || die + -e '$a\\n#if defined(__linux__) && defined(__ELF__)\n.section .note.GNU-stack,"",%progbits\n#endif' \ + -i {} + || die popd >/dev/null || die fi |