[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: need help with bug #178837 (automake)



On Mon, 3 Feb 2003 21:35:28 +0100,
Frank Gevaerts <frank@gevaerts.be> wrote:
> On Mon, Feb 03, 2003 at 09:01:15PM +0100, Thomas Viehmann wrote:
> > In particular, in debian/rules you could do (the first line probably
> > already
> > being present from dh_make):
> > 
> > DEB_BUILD_GNU_CPU = $(shell dpkg-architecture -qDEB_BUILD_GNU_CPU)
> > ifeq ($(DEB_BUILD_GNU_CPU),alpha)
> > ...
> > endif
> Yes, but my problem is that this doesn't work as long as Makefile.am
> contains a hardcoded CFLAGS variable. My problem is how to get rid of
> that.
build:
ifeq ($(DEB_BUILD_GNU_CPU),alpha)
        $(MAKE) CFLAGS="something"
else
        $(MAKE) CFLAGS="something else"
endif

-- 
Oohara Yuuma <oohara@libra.interq.or.jp>
Debian developer
PGP key (key ID F464A695) http://www.interq.or.jp/libra/oohara/pub-key.txt
Key fingerprint = 6142 8D07 9C5B 159B C170  1F4A 40D6 F42E F464 A695

Do not assume users will be motivated to read manuals
--- The GNU Privacy Handbook



Reply to: