RE: [PATCH] Build system command line options
[email protected] ("Brent Dax")
| Newsgroups | perl.perl6.internals,perl.ponie.dev |
|---|---|
| Message-ID | <01d401c377ba$41e2c970$2a01a8c0@brent> |
Arthur Bergman:
# Currently if you specify cc and ld flag options at the command line it
# totally overrides the ones it finds, this seems non DWIM and non
# optimal. This little patch fixes it.
Got something a bit better.
Parrot Configure has had syntax for modifying settings without removing
them for a long time:
:add{foo}
:rem{foo}
Until now, it only worked when Configure prompted you interactively for
the settings; I've now changed it (applied to
Parrot--config/inter/progs.pl 1.12, lib/Parrot/Configure/Step.pm 1.14)
so that it works on most of the settings progs.pl handles, including all
the /..flags/ settings.
So to append to ccflags, you'd just do:
perl Configure.pl --ccflags=":add{stuff to append}"
Will this suffice?
--Brent Dax <[email protected]>
Perl and Parrot hacker
"Yeah, and my underwear is flame-retardant--that doesn't mean I'm gonna
set myself on fire to prove it."