未验证 提交 ac6196c7 编辑于 作者: Carlo Cabrera's avatar Carlo Cabrera 提交者: GitHub
浏览文件

Merge pull request #12408 from lab47/b-linux-path

Do not pass -Wl,-headerpad_max_install_names on linux
......@@ -55,8 +55,6 @@ module Stdenv
# Os is the default Apple uses for all its stuff so let's trust them
define_cflags "-Os #{SAFE_CFLAGS_FLAGS}"
append "LDFLAGS", "-Wl,-headerpad_max_install_names"
send(compiler)
return unless cc&.match?(GNU_GCC_REGEXP)
......
......@@ -16,6 +16,8 @@ module Stdenv
bottle_arch: bottle_arch, testing_formula: testing_formula
)
append "LDFLAGS", "-Wl,-headerpad_max_install_names"
# sed is strict, and errors out when it encounters files with
# mixed character sets
delete("LC_ALL")
......
支持 Markdown
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册