diff options
author | Austin Seipp <austin@well-typed.com> | 2014-01-07 01:06:10 -0600 |
---|---|---|
committer | Austin Seipp <austin@well-typed.com> | 2014-01-07 01:06:10 -0600 |
commit | 26fcbd0a40c7bfa785baf4d1ad119ddb3abf05e7 (patch) | |
tree | 337af610eb0261a45597ad6ef1b0b5fc83b3c3af /rts/ghc.mk | |
parent | bb63e83ae279a1e410bdb3dc6d28943e8e024d07 (diff) | |
download | haskell-26fcbd0a40c7bfa785baf4d1ad119ddb3abf05e7.tar.gz |
Fix specification of -z origin for gold.
Gold apparently doesn't recognize `-z origin`, only `-zorigin` it seems.
Authored-by: Ben Gamari <bgamari.foss@gmail.com>
Signed-off-by: Austin Seipp <austin@well-typed.com>
Diffstat (limited to 'rts/ghc.mk')
-rw-r--r-- | rts/ghc.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/ghc.mk b/rts/ghc.mk index 9ed64c6f7c..1e0b6def87 100644 --- a/rts/ghc.mk +++ b/rts/ghc.mk @@ -195,7 +195,7 @@ else ifneq "$$(UseSystemLibFFI)" "YES" LIBFFI_LIBS = -Lrts/dist/build -l$$(LIBFFI_NAME) ifeq "$$(TargetElf)" "YES" -LIBFFI_LIBS += -optl-Wl,-rpath -optl-Wl,'$$$$ORIGIN' -optl-Wl,-z -optl-Wl,origin +LIBFFI_LIBS += -optl-Wl,-rpath -optl-Wl,'$$$$ORIGIN' -optl-Wl,-zorigin endif else |