瀏覽代碼

configure.ac: Remove -fstack-protector-strong from LLVM flags.

-fstack-protector-strong is not supported by clang.

This patch fixes this build error on Fedora 20 with clang.

  CXX      gallivm/lp_bld_debug.lo
clang: error: unknown argument: '-fstack-protector-strong'

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75010
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
tags/10.3-branchpoint
Vinson Lee 11 年之前
父節點
當前提交
8479edf3d7
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2
    1
      configure.ac

+ 2
- 1
configure.ac 查看文件

@@ -1591,7 +1591,8 @@ strip_unwanted_llvm_flags() {
-e 's/-fno-exceptions\>//g' \
-e 's/-fomit-frame-pointer\>//g' \
-e 's/-fvisibility-inlines-hidden\>//g' \
-e 's/-fPIC\>//g'
-e 's/-fPIC\>//g' \
-e 's/-fstack-protector-strong\>//g'
}



Loading…
取消
儲存