]> 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@opensourcerouting.org>
Fri, 7 Dec 2018 18:35:26 +0000 (19:35 +0100)
commit9b76e054ada927209cbc53e0f740258a82c562e1
treeb9d9c9a5251769e54c7bf282ca352fad95d6e717
parente4cdd7ccc584b1e7adb9909028d35936f69114de
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