From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by ml01.01.org (Postfix) with ESMTP id 93E2B1A1E26 for ; Tue, 2 Aug 2016 23:48:54 -0700 (PDT) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP; 02 Aug 2016 23:48:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,464,1464678000"; d="scan'208";a="743484580" Received: from xiahui-mobl.ccr.corp.intel.com (HELO JSHI19-MOBL2.ccr.corp.intel.com) ([10.255.25.75]) by FMSMGA003.fm.intel.com with ESMTP; 02 Aug 2016 23:48:51 -0700 From: "Shi, Steven" To: edk2-devel@lists.01.org, liming.gao@intel.com, jaben.carsey@intel.com Cc: afish@apple.com, michael.d.kinney@intel.com, Steven Shi Date: Wed, 3 Aug 2016 14:48:20 +0800 Message-Id: <1470206903-18256-2-git-send-email-steven.shi@intel.com> X-Mailer: git-send-email 2.8.1.windows.1 In-Reply-To: <1470206903-18256-1-git-send-email-steven.shi@intel.com> References: <1470206903-18256-1-git-send-email-steven.shi@intel.com> Subject: [PATCH 1/4] BaseTools-Conf:Remove short dash in ar flag for LLVM X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Aug 2016 06:48:54 -0000 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 --- BaseTools/Conf/build_rule.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 BaseTools/Conf/build_rule.template diff --git a/BaseTools/Conf/build_rule.template b/BaseTools/Conf/build_rule.template old mode 100644 new mode 100755 index 9adf391..6e7b7d4 --- a/BaseTools/Conf/build_rule.template +++ b/BaseTools/Conf/build_rule.template @@ -266,7 +266,7 @@ "$(SLINK)" $(SLINK_FLAGS) /OUT:${dst} @$(OBJECT_FILES_LIST) - "$(SLINK)" -cr ${dst} $(SLINK_FLAGS) @$(OBJECT_FILES_LIST) + "$(SLINK)" cr ${dst} $(SLINK_FLAGS) @$(OBJECT_FILES_LIST) "$(SLINK)" $(SLINK_FLAGS) ${dst} --via $(OBJECT_FILES_LIST) -- 2.7.4