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

Bug#552688: Please decide how Debian should enable hardening build flags



On Tue, Jul 26, 2011 at 11:32:27PM +0200, Raphael Hertzog wrote:
> TODO: add a "STRIP" operation to the set of operations supported by
> dpkg-buildflags. DEB_CFLAGS_MAINT_STRIP="--foo --bar" would basically
> drop all occurrences of --foo and --bar in the returned build flags.

> QUESTION: Is this ok to assume that all build flags can be "delimited"
> by a space character?

Counterexample: -Wl,-z -Wl,defs

While this *can* also be written as -Wl,-z,defs, I'm not sure there's any
way to guarantee it will be?

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org



Reply to: