Re: rpmbuild command line override spec file %define

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

 



On May 22, 2006 9:29:36 AM +0200 Jos Vos <jos@xxxxxx> wrote:
On Mon, May 22, 2006 at 08:51:46AM +0200, Christian Joensson wrote:

rpmbuild -ba /usr/src/redhat/SPECS/gcc34.spec --define 'build_ada 0'
--define 'build_java 0' --target=sparc64

or if something else is required?

You can not *override* defines that are also defined in the spec
file that way (like with Makefikes).

In Makefiles, you can override definitions.

$ cat Makefile
B = a
all:
	@echo $(B)
$ gmake
a
$ gmake B=b
b
$

-frank

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux