[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Macros get expanded in comments..
- From: Paul E Johnson <pauljohn ukans edu>
- To: rpm-list redhat com
- Subject: Re: Macros get expanded in comments..
- Date: Fri, 29 Sep 2000 08:56:46 -0500
"Mike A. Harris" wrote:
>
> In english, what I'm _really_ wanting to do is:
>
> if( build_os <= Red Hat 6.2 )
> %define this that
> else
> %define this somethingelse
> fi
This is from a SPEC file that does work. Could some variant of it do
what you want?
%ifarch sparc
CONSERVATIVE_OPTIMIZATION=yes %configure
%endif
%ifarch ppc
CFLAGS="-fdollars-in-identifiers -O2 -g" %configure --with-ffidir=/usr
--disable-jar
%endif
%ifarch i386
%configure
%endif
--
Paul E. Johnson email: pauljohn@ukans.edu
Dept. of Political Science http://lark.cc.ukans.edu/~pauljohn
University of Kansas Office: (785) 864-9086
Lawrence, Kansas 66045 FAX: (785) 864-5700
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]