diff options
author | Shi, Steven <steven.shi@intel.com> | 2016-08-03 17:43:03 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2016-08-10 12:56:27 +0800 |
commit | b5e006edb9387c774ab8d4ac27c14fe81de38d0a (patch) | |
tree | b8c3459fdbd7a851ddb0f567540b7fc2fd3679eb /BaseTools/Conf | |
parent | 5aeafb3a254e7cd9e1fb69a0d391388a51c6e210 (diff) | |
download | edk2-b5e006edb9387c774ab8d4ac27c14fe81de38d0a.tar.gz edk2-b5e006edb9387c774ab8d4ac27c14fe81de38d0a.tar.bz2 edk2-b5e006edb9387c774ab8d4ac27c14fe81de38d0a.zip |
BaseTools-Conf:Remove short dash in ar flag for LLVM
Both binutils ar and LLVM ar support "cr", but LLVM ar doens't
support add "-" in the flags, and llvm-ar cannot accept "-cr".
So remove the short dash "-" to make llvm archives work.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Steven Shi <steven.shi@intel.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Diffstat (limited to 'BaseTools/Conf')
-rwxr-xr-x[-rw-r--r--] | BaseTools/Conf/build_rule.template | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Conf/build_rule.template b/BaseTools/Conf/build_rule.template index a3388a726f..6191957e0e 100644..100755 --- a/BaseTools/Conf/build_rule.template +++ b/BaseTools/Conf/build_rule.template @@ -266,7 +266,7 @@ "$(SLINK)" $(SLINK_FLAGS) /OUT:${dst} @$(OBJECT_FILES_LIST)
<Command.GCC, Command.GCCLD>
- "$(SLINK)" -cr ${dst} $(SLINK_FLAGS) @$(OBJECT_FILES_LIST)
+ "$(SLINK)" cr ${dst} $(SLINK_FLAGS) @$(OBJECT_FILES_LIST)
<Command.RVCT>
"$(SLINK)" $(SLINK_FLAGS) ${dst} --via $(OBJECT_FILES_LIST)
|