From patchwork Fri Apr 25 15:57:13 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonio Diaz Diaz X-Patchwork-Id: 342917 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id D5D17140111 for ; Sat, 26 Apr 2014 01:59:57 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:cc:subject:content-type; q=dns; s=default; b=raZRcrcRMU2j0UHCMPuhP5pPfMYFNVBIX9zvpqHDTOg jfkI3T1MoSy9G1Szw7AJkFQw/kpiT403KwgaJIUGfivcaFyQUDTabCpP+tbU1lPO NHhR+xP1W0UAohwRUb23BlPs5m7fcuj/IYq4HClYt70O2HDCW/LlVTCbyr3CuAuM = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:cc:subject:content-type; s=default; bh=lwmGtOC9nlYzUa/i73zs6ib7ta0=; b=vRxMUbj0nhgGP2eBs svCFxjW+AatJJ/hjwrj4v38lGyTi9X6Px1v6EpPipd8YyMF9esl1IELnqPIzGcHc p4w/JCJXp+DCejnMTdvA3s/rOqsFhet4RIHHGlLIK3LuSWlynJgRyJ9APlV52etB HO+kFMzFnuN4mEH+QqHIgddOFg= Received: (qmail 26596 invoked by alias); 25 Apr 2014 15:59:50 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 26586 invoked by uid 89); 25 Apr 2014 15:59:49 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 X-HELO: fencepost.gnu.org Received: from fencepost.gnu.org (HELO fencepost.gnu.org) (208.118.235.10) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Fri, 25 Apr 2014 15:59:48 +0000 Received: from 182.red-217-124-67.dialup.dynamic.ccgg.telefonica.net ([217.124.67.182]:43721) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1WdiXP-0002LC-Nf; Fri, 25 Apr 2014 11:59:44 -0400 Message-ID: <535A85D9.5050507@gnu.org> Date: Fri, 25 Apr 2014 17:57:13 +0200 From: Antonio Diaz Diaz User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.11) Gecko/20050905 MIME-Version: 1.0 To: gcc-patches@gcc.gnu.org CC: Antonio Diaz Diaz Subject: ALL_COMPILERFLAGS used instead of ALL_LINKERFLAGS in gcc/Makefile.in Hello. I think ALL_COMPILERFLAGS is incorrectly used instead of ALL_LINKERFLAGS in line 1909 of gcc/Makefile.in[1]. [1]http://gcc.gnu.org/viewcvs/gcc/trunk/gcc/Makefile.in?view=markup#l1909 I attach a trivial patch. Best regards, Antonio. --- Makefile.in~ 2014-04-25 17:40:32.000000000 +0200 +++ Makefile.in 2014-04-25 17:43:56.000000000 +0200 @@ -1906,7 +1906,7 @@ @TARGET_SYSTEM_ROOT_DEFINE@ lto-wrapper$(exeext): lto-wrapper.o ggc-none.o libcommon-target.a $(LIBDEPS) - +$(LINKER) $(ALL_COMPILERFLAGS) $(LDFLAGS) -o T$@ \ + +$(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) -o T$@ \ lto-wrapper.o ggc-none.o libcommon-target.a $(LIBS) mv -f T$@ $@