diff options
author | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2018-11-28 15:45:50 +0000 |
---|---|---|
committer | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2018-11-28 15:45:50 +0000 |
commit | b5a49ad43f275dde864d429b3765156367bd8f8c (patch) | |
tree | ca3a5ed7122d2d3d79609aa2659f2344e3736955 /reproduce | |
parent | a25c2cf65c78fd504ec3cbf6f007b4011ba248a1 (diff) |
Changed -rpath to -rpath-link for LLVM
The linker of LLVM version 10.0.0 (clang-1000.11.45.5) doesn't recognize
the `-rpath' linker option! After some searching, apparently it does
recognize `-rpath-link' so we are testing with that now.
Diffstat (limited to 'reproduce')
-rw-r--r-- | reproduce/src/make/dependencies-basic.mk | 5 | ||||
-rw-r--r-- | reproduce/src/make/dependencies.mk | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/reproduce/src/make/dependencies-basic.mk b/reproduce/src/make/dependencies-basic.mk index 196d457..c1e227b 100644 --- a/reproduce/src/make/dependencies-basic.mk +++ b/reproduce/src/make/dependencies-basic.mk @@ -145,6 +145,11 @@ $(tarballs): $(tdir)/%: $(DOWNLOADER) $@ $$tarballurl; \ fi +# C compiler and linker +# --------------------- +# +# --disable-multilib: ignore 32-bit installation for 64-bit systems. + diff --git a/reproduce/src/make/dependencies.mk b/reproduce/src/make/dependencies.mk index 6f4aa78..396060b 100644 --- a/reproduce/src/make/dependencies.mk +++ b/reproduce/src/make/dependencies.mk @@ -53,12 +53,13 @@ all: $(foreach p, $(top-level-programs), $(ibdir)/$(p)) .ONESHELL: .SHELLFLAGS := -ec export PATH := $(ibdir) +export LD_RUN_PATH := $(ildir) export LD_LIBRARY_PATH := $(ildir) export SHELL := $(ibdir)/bash export CPPFLAGS := -I$(idir)/include export PKG_CONFIG_PATH := $(ildir)/pkgconfig export PKG_CONFIG_LIBDIR := $(ildir)/pkgconfig -export LDFLAGS := -Wl,-rpath=$(ildir) -L$(ildir) +export LDFLAGS := -Wl,-rpath-link=$(ildir) -L$(ildir) |