Yes, exactly. Each option sets 0 or 1 for that option. -fpie sets fpie to 1, -fno-pie sets it back to 0. Whatever the last option was is what gets used.
robert On Tuesday June 16 2009 10:39:57 am robert baker wrote: > I think I kind of missed the point of your paragraph below. Correct me > if I am wrong, but you are saying if two or more opposing flags are > passed gcc will use the last one in the list. If that is the case then > disregard my last mail in this thread. > > > Robert Baker > > On Mon, Jun 15, 2009 at 9:36 PM, Robert > > Connolly<rob...@linuxfromscratch.org> wrote: > > Command line options will supersede these options, so if a test uses > > -fPIE cc1 will get "-fno-PIE -fPIE", and everything will be okay. There's > > no need for gcc spec rules for this application (toolchain test suites). > > This does make a mess of "gcc -v", so it's not healthy to do this without > > rules with the installed compiler.
pgpU1YUb897QP.pgp
Description: PGP signature
-- http://linuxfromscratch.org/mailman/listinfo/hlfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page