diff options
author | Daniel Dunbar <daniel@zuster.org> | 2011-06-16 22:30:38 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2011-06-16 22:30:38 +0000 |
commit | e2a91a76dffcf8cda97b835f0693f9dc6f26ba68 (patch) | |
tree | 5d25de616c3f0b9175308cbba3c1f4b40ab40f7c /Makefile.rules | |
parent | dc9c76aca6cc31ee5c26c0356e10955b3e0b0440 (diff) | |
download | llvm-e2a91a76dffcf8cda97b835f0693f9dc6f26ba68.tar.gz llvm-e2a91a76dffcf8cda97b835f0693f9dc6f26ba68.tar.bz2 llvm-e2a91a76dffcf8cda97b835f0693f9dc6f26ba68.tar.xz |
build/configure: Add support for --with-extra-ld-options flag (to provide extra
options just to pass to ld).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133206 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r-- | Makefile.rules | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules index 71d4307aba..162fd23552 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -582,6 +582,10 @@ endif # Options To Invoke Tools #---------------------------------------------------------- +ifdef EXTRA_LD_OPTIONS +LD.Flags += $(EXTRA_LD_OPTIONS) +endif + ifndef NO_PEDANTIC CompileCommonOpts += -pedantic -Wno-long-long endif |