Hi,

I have a couple of questions about rpm. If the book Maximum RPM covers 
these topics, and rpm v4, please let me know.

Is it possible to pass other compiler options into the rebuild from the 
command line? For example, I would like to easily rebuild a slew of 
packages specificaly for the AMD K6-2 3Dnow that I use.

I would rather not start threads here on why this would be a dumb or 
good idea, I just want to know if there is an easy way to pass in this 
option as well as extra compiler flags into rpm for the rebuild target. 
I saw a question earlier about the variable RPM_OPT_FLAGS, without an 
answer.

I know that I can modify the spec file for the package, or if needs be, 
the config.in or similar files in the package's source directory. Is 
there a quick way to do this with the rpm --target=<bla> --rebuild 
somepackage-src.rpm?

I have tried rebuilding with --target=k6-redhat-linux and it seems that 
1) the dist and os flags are just tossed and 2) although the package 
will call itself package.k6.rpm when it is done, it will not compile 
with --march=k6, although a --target=i586-rh-linux will compile with 
--march=i586.

Thanks for the responses. Please cc me since I follow the list in digest 
mode.

Jacob Anawalt



_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to