public inbox for rhug-rhats@sourceware.org
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: rhug-rhats@sources.redhat.com
Subject: bug fix -- but no automake
Date: Thu, 10 Jul 2003 17:30:00 -0000	[thread overview]
Message-ID: <87of02b8m8.fsf@fleche.redhat.com> (raw)

I don't have automake 1.5 installed anywhere.  (This is a bogus
version to be using, anyway.  1.6 or 1.7 would be much better.)

This patch fixes a build problem I've been having.
CFLAGS is a user variable, setting it in Makefile.am is incorrect.
And in this case it breaks the build if you try to build
with "make CFLAGS=-g".

Could someone here with automake 1.5 apply this patch, rebuild
Makefile.in, and commit?  I'd appreciate it if this could happen
soon... I'd like my nightly builds to start working again so I can
use jasmin.

I searched in all the Makefile.am in the tree and didn't see this
problem anywhere else, for either CFLAGS or CXXFLAGS.

Tom

Index: ChangeLog
from  Tom Tromey  <tromey@redhat.com>

	* Makefile.am (AM_CFLAGS): Renamed from CFLAGS.  Removed -O2;
	this is supplied by configure.

Index: Makefile.am
===================================================================
RCS file: /cvs/rhug/rhug/gnu.readline/Makefile.am,v
retrieving revision 1.10
diff -u -r1.10 Makefile.am
--- Makefile.am 11 Jul 2002 13:49:29 -0000 1.10
+++ Makefile.am 10 Jul 2003 17:25:47 -0000
@@ -89,7 +89,7 @@
 # JavaReadLine and JavaEditLine  should be set according to what
 # autoconf detects. FIXME
 
-CFLAGS = -O2 -DJNIEXPORT= -DJNICALL= -DJAVAREADLINE
+AM_CFLAGS = -DJNIEXPORT= -DJNICALL= -DJAVAREADLINE
 
 lib_org_gnu_readline_la_SOURCES = \
 ./upstream/src/org/gnu/readline/Readline.java \

                 reply	other threads:[~2003-07-10 17:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87of02b8m8.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=rhug-rhats@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).