]> git.puffer.fish Git - matthieu/frr.git/commit
build: fix reproducibility re. -fdebug-prefix-map
authorDavid Lamparter <equinox@diac24.net>
Tue, 30 Oct 2018 01:02:00 +0000 (02:02 +0100)
committerDavid Lamparter <equinox@diac24.net>
Fri, 7 Dec 2018 18:29:14 +0000 (19:29 +0100)
commitf2c1742cdadbed2e0126950dd708b7c215f29f0e
tree82656e7649b711e0cbd7e2d62a3c01e3d033ee64
parent0f95a65968de8d3e8ab3d27a62f8a3c66ca99add
build: fix reproducibility re. -fdebug-prefix-map

If CFLAGS contains something like `-fdebug-prefix-map=/build/path=.`, we
need to remove it from CONFIG_ARGS so it doesn't get baked into `show
version`.  Otherwise, build becomes non-reproducible if the build path
changes.  To avoid other things creeping in, let's just remove *FLAGS in
their entirety.  (Not really reliable information anyway.)

With this commit, FRR build should be 100% reproducible.

Signed-off-by: David Lamparter <equinox@diac24.net>
configure.ac