X-Loop: help-debbugs@HIDDEN Subject: bug#9855: CFLAGS per source Resent-From: NightStrike <nightstrike@HIDDEN> Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org Resent-CC: bug-automake@HIDDEN Resent-Date: Mon, 24 Oct 2011 03:20:02 +0000 Resent-Message-ID: <handler.9855.B.13194263593336 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 9855 X-GNU-PR-Package: automake X-GNU-PR-Keywords: To: 9855 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-automake@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.13194263593336 (code B ref -1); Mon, 24 Oct 2011 03:20:02 +0000 Received: (at submit) by debbugs.gnu.org; 24 Oct 2011 03:19:19 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1RIB4J-0000rl-MZ for submit <at> debbugs.gnu.org; Sun, 23 Oct 2011 23:19:19 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <nightstrike@HIDDEN>) id 1RIB4H-0000rZ-Rt for submit <at> debbugs.gnu.org; Sun, 23 Oct 2011 23:19:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <nightstrike@HIDDEN>) id 1RIB2k-0001Ov-Qc for submit <at> debbugs.gnu.org; Sun, 23 Oct 2011 23:17:43 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:46064) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <nightstrike@HIDDEN>) id 1RIB2k-0001Or-Oo for submit <at> debbugs.gnu.org; Sun, 23 Oct 2011 23:17:42 -0400 Received: from eggs.gnu.org ([140.186.70.92]:38358) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <nightstrike@HIDDEN>) id 1RIB2j-0003Lf-Sg for bug-automake@HIDDEN; Sun, 23 Oct 2011 23:17:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <nightstrike@HIDDEN>) id 1RIB2i-0001OX-Qy for bug-automake@HIDDEN; Sun, 23 Oct 2011 23:17:41 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:46850) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <nightstrike@HIDDEN>) id 1RIB2i-0001OQ-JC for bug-automake@HIDDEN; Sun, 23 Oct 2011 23:17:40 -0400 Received: by wwf27 with SMTP id 27so2397362wwf.30 for <bug-automake@HIDDEN>; Sun, 23 Oct 2011 20:17:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=+p0ocsEgXlJmh4bMDXWCRuoSvH7PjpbHj1OI2lL7HPs=; b=FnpHjps3yJGX8DvF7MG2SryiXyQv2Z3gIYR8p+WaP3Nd2JkQXybcJ2RBEJ02QTj/ut tKBydK4WbGDK+oP8PCLY3IaF1FsY7YKdqIwkrNUK9HGbbvgNJsYYW9qXsTfi0R8JQtIe sxacEBEc+at5XwXo8x77fVMERMPnzfMwvVHrA= MIME-Version: 1.0 Received: by 10.216.82.136 with SMTP id o8mr6338950wee.31.1319426259744; Sun, 23 Oct 2011 20:17:39 -0700 (PDT) Received: by 10.216.46.66 with HTTP; Sun, 23 Oct 2011 20:17:39 -0700 (PDT) In-Reply-To: <CAF1jjLuB1mrXN_n0oVau6+ROUrZjs9YCArQ9SWGxaccf2eGWQA@HIDDEN> References: <CAF1jjLuB1mrXN_n0oVau6+ROUrZjs9YCArQ9SWGxaccf2eGWQA@HIDDEN> Date: Sun, 23 Oct 2011 23:17:39 -0400 Message-ID: <CAF1jjLsf3cMtbt71QNWPRhN5n1qk9HD3HyOK=EJ9zS158W3=Uw@HIDDEN> From: NightStrike <nightstrike@HIDDEN> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -5.9 (-----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -5.9 (-----) When using automake, I know how to set *FLAGS globally (ie, AM_*FLAGS), and per binary/lib (ie bin_PROGRAMS=3Dfoo ; foo_*FLAGS =3D ...) =A0However, those flag variables apply to every source file for a given primary. =A0What if I have multiple sources that are compiled differently? bin_PROGRAMS =3D a a_SOURCES =3D x.c y.c I want x.c compiled with -Option1 and y.c compiled with -Option2. Section 27.8 of the manual, "Per-Object Flags Emulation", describes a way to accomplish this using libraries, but is that really the ideal solution? =A0It seems like a very hacky solution compared to supporting some syntax for, say, x_c_CFLAGS variables (or something that works with sources used multiple times.. perhaps a_x_c_CFLAGS), as in my example above. =A0That would be much cleaner, I would think, compared to requiring the user to create and link against useless intermediate libraries. Can this be considered for automake 1.12? Also, has anyone verified that there really is no difference between adding additional .o's to the link and .a's containing those .o's? For instance, how does this interact with LTO (link time optimization)?
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: NightStrike <nightstrike@HIDDEN> Subject: bug#9855: Acknowledgement (CFLAGS per source) Message-ID: <handler.9855.B.13194263593336.ack <at> debbugs.gnu.org> References: <CAF1jjLsf3cMtbt71QNWPRhN5n1qk9HD3HyOK=EJ9zS158W3=Uw@HIDDEN> X-Gnu-PR-Message: ack 9855 X-Gnu-PR-Package: automake Reply-To: 9855 <at> debbugs.gnu.org Date: Mon, 24 Oct 2011 03:20:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-automake@HIDDEN If you wish to submit further information on this problem, please send it to 9855 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 9855: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D9855 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
Received: (at control) by debbugs.gnu.org; 24 Oct 2011 17:54:31 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 24 13:54:31 2011 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1RIOjH-0006QK-7V for submit <at> debbugs.gnu.org; Mon, 24 Oct 2011 13:54:31 -0400 Received: from mail-ww0-f46.google.com ([74.125.82.46]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <stefano.lattarini@HIDDEN>) id 1RIOjF-0006Q8-H8 for control <at> debbugs.gnu.org; Mon, 24 Oct 2011 13:54:30 -0400 Received: by wwp14 with SMTP id 14so9171787wwp.15 for <control <at> debbugs.gnu.org>; Mon, 24 Oct 2011 10:52:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:x-kmail-markup:mime-version :content-type:content-transfer-encoding:message-id; bh=vlYwVWNmFVn3h4SswVgBmaPRF+3dFFVvzFNtVh83w44=; b=EW2skgwuSXRl010If02FaXziR54Y/IAJ9/JACq+dfWiUypaG1jd3RR2gkOSOEpvowk qfgy5kDv1WuqxvovwQrNG+GBNwx8Cw6rb0cYurH419E/l3yTUcp7r3pdO9Zanp57U95p X64ycOKF+SPYCUNJfMxoPHnwEoeIrfZOArQAs= Received: by 10.227.4.74 with SMTP id 10mr5433395wbq.49.1319478771260; Mon, 24 Oct 2011 10:52:51 -0700 (PDT) Received: from bigio.localnet (host113-100-dynamic.0-79-r.retail.telecomitalia.it. [79.0.100.113]) by mx.google.com with ESMTPS id eu16sm40298319wbb.7.2011.10.24.10.52.48 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 24 Oct 2011 10:52:48 -0700 (PDT) From: Stefano Lattarini <stefano.lattarini@HIDDEN> To: control <at> debbugs.gnu.org Subject: foo Date: Mon, 24 Oct 2011 19:52:39 +0200 User-Agent: KMail/1.13.7 (Linux/2.6.30-2-686; KDE/4.6.5; i686; ; ) X-KMail-Markup: true MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="Boundary-01=_oXapOx+/qiZ+2Ax" Content-Transfer-Encoding: 7bit Message-Id: <201110241952.40024.stefano.lattarini@HIDDEN> X-Spam-Score: -3.8 (---) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -3.8 (---) --Boundary-01=_oXapOx+/qiZ+2Ax Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit submitter 9859 Ignacy Gawedzki <i@HIDDEN> severity 9855 wishlist thanks --Boundary-01=_oXapOx+/qiZ+2Ax Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 7bit <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Bitstream Vera Sans Mono'; font-size:12pt; font-weight:400; font-style:normal;"> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">submitter 9859 Ignacy Gawedzki <i@HIDDEN></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">severity 9855 wishlist</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">thanks</p></body></html> --Boundary-01=_oXapOx+/qiZ+2Ax--
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.