From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-x229.google.com (mail-io0-x229.google.com [IPv6:2607:f8b0:4001:c06::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id AA6B31A1E21 for ; Wed, 3 Aug 2016 00:30:44 -0700 (PDT) Received: by mail-io0-x229.google.com with SMTP id m101so235432730ioi.2 for ; Wed, 03 Aug 2016 00:30:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=YJRJFgxHy3vc+VlvvbJ2PAit5T/6SUpCZUh7Y55uGhY=; b=NS/ZlHW/Bx4lq9FaEL7cVW90FwmThKAagB699l+7Qkc9vm7t7s+OhoDOx34zJmUp9Q VngTDIHOO74yS8jxaAb5J2switThL6Dtl9C5LXUNpmPi0E94Q6UrbxF+7IbqWpSmOMJj QZF8hUAjXS8egVExfp2vMw+qjyQHkWOANd6UY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=YJRJFgxHy3vc+VlvvbJ2PAit5T/6SUpCZUh7Y55uGhY=; b=f8Y90BUYvIOhcOuKArsfhvg1EYd5S5YGqbmhS4TYKyzqLpaxnNbkhrHkWcbXA1MBWb 31CAxrQdIAa7eXo6JigAx7oB2Pp0Yw2C9epCGF6GyWZyOBoZF04z3Uvlekg1SnbkgYR/ r1n/7TgG5nkyLudWp65ZL+rew/8dou1ruN4sRWeLEgRtyFnnynjT31ynyzDobG6xJWnA 8gVAvCUFSpcH/f21y241o6YZhkQojmFlJAL3+uA0WTMQZxoFDbhZ5LwUquA6vMUkqrN2 eZnIdpKnf2wOqNqrQtRetXVtsoOi3lyENWyk0XguLTTYG/B8GMQb+RXd5w70BgeDgLHh 2MzQ== X-Gm-Message-State: AEkooutlT6jKhe3ecIQAxRi0Xy7v7JTVTHl5miX5zSutfPuzRTo/Nk9la4VTrz6fIO2qZCfWDue9m/VHjn0HBS0N X-Received: by 10.107.40.133 with SMTP id o127mr63309037ioo.183.1470209443891; Wed, 03 Aug 2016 00:30:43 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.204.195 with HTTP; Wed, 3 Aug 2016 00:30:43 -0700 (PDT) In-Reply-To: <1470206903-18256-2-git-send-email-steven.shi@intel.com> References: <1470206903-18256-1-git-send-email-steven.shi@intel.com> <1470206903-18256-2-git-send-email-steven.shi@intel.com> From: Ard Biesheuvel Date: Wed, 3 Aug 2016 09:30:43 +0200 Message-ID: To: "Shi, Steven" Cc: edk2-devel-01 , "Gao, Liming" , "Carsey, Jaben" , "Kinney, Michael D" , "afish@apple.com" Subject: Re: [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 07:30:44 -0000 Content-Type: text/plain; charset=UTF-8 On 3 August 2016 at 08:48, Shi, Steven wrote: > 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 > > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel