From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by ml01.01.org (Postfix) with ESMTP id 2643B1A1E26 for ; Wed, 3 Aug 2016 02:43:57 -0700 (PDT) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP; 03 Aug 2016 02:43:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,465,1464678000"; d="scan'208";a="858881813" Received: from xiahui-mobl.ccr.corp.intel.com (HELO JSHI19-MOBL2.ccr.corp.intel.com) ([10.255.25.75]) by orsmga003.jf.intel.com with ESMTP; 03 Aug 2016 02:43:55 -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, ard.biesheuvel@linaro.org, Steven Shi Date: Wed, 3 Aug 2016 17:43:03 +0800 Message-Id: <1470217386-20676-2-git-send-email-steven.shi@intel.com> X-Mailer: git-send-email 2.8.1.windows.1 In-Reply-To: <1470217386-20676-1-git-send-email-steven.shi@intel.com> References: <1470217386-20676-1-git-send-email-steven.shi@intel.com> Subject: [PATCH v5 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 09:43:57 -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 Reviewed-by: Ard Biesheuvel --- 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