mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-11 16:04:23 +00:00
Fix mxgot export on mips64el
This commit is contained in:
parent
4d5cf64dc4
commit
02034b1a69
7
debian/rules
vendored
7
debian/rules
vendored
@ -32,11 +32,6 @@ else
|
|||||||
skip_packages = -Nlibclang-rt-$(LLVM_VERSION)-dev
|
skip_packages = -Nlibclang-rt-$(LLVM_VERSION)-dev
|
||||||
else
|
else
|
||||||
RUNTIMES = compiler-rt;libcxx;libcxxabi
|
RUNTIMES = compiler-rt;libcxx;libcxxabi
|
||||||
ifeq ($(DEB_HOST_ARCH),mips64el)
|
|
||||||
export DEB_BUILD_MAINT_OPTIONS = reproducible=-fixfilepath,-fixdebugpath optimize=-lto hardening=-stackprotector,-stackprotectorstrong
|
|
||||||
CFLAGS_EXTRA += -mxgot
|
|
||||||
CXXFLAGS_EXTRA += -mxgot
|
|
||||||
endif
|
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -219,6 +214,8 @@ ifneq (,$(filter $(DEB_HOST_ARCH),mips64el))
|
|||||||
# avoid an issue with search path on mips64el
|
# avoid an issue with search path on mips64el
|
||||||
# https://bugs.llvm.org/show_bug.cgi?id=41204
|
# https://bugs.llvm.org/show_bug.cgi?id=41204
|
||||||
STAGE_ALL_CMAKE_EXTRA += -DLLVM_HOST_TRIPLE=mips64el-linux-gnuabi64
|
STAGE_ALL_CMAKE_EXTRA += -DLLVM_HOST_TRIPLE=mips64el-linux-gnuabi64
|
||||||
|
CFLAGS_EXTRA += -mxgot
|
||||||
|
CXXFLAGS_EXTRA += -mxgot
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter $(DEB_HOST_ARCH),powerpc))
|
ifneq (,$(filter $(DEB_HOST_ARCH),powerpc))
|
||||||
|
Loading…
Reference in New Issue
Block a user