Andrew Geissler | 90fd73c | 2021-03-05 15:25:55 -0600 | [diff] [blame] | 1 | configure contains CFLAGS filtering code which was removing our prefix-map |
| 2 | flags. We need those to generate reproducible binaries. Allow them through. |
| 3 | |
| 4 | Upstream-Status: Pending |
| 5 | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> |
| 6 | |
Andrew Geissler | c926e17 | 2021-05-07 16:11:35 -0500 | [diff] [blame^] | 7 | --- a/configure.ac |
| 8 | +++ b/configure.ac |
Andrew Geissler | 90fd73c | 2021-03-05 15:25:55 -0600 | [diff] [blame] | 9 | @@ -99,6 +99,10 @@ do |
| 10 | -mno-cygwin) |
| 11 | shift |
| 12 | ;; |
Andrew Geissler | c926e17 | 2021-05-07 16:11:35 -0500 | [diff] [blame^] | 13 | + -fmacro-prefix-map*|-fdebug-prefix-map*|-ffile-prefix-map*) |
Andrew Geissler | 90fd73c | 2021-03-05 15:25:55 -0600 | [diff] [blame] | 14 | + CFLAGS="$CFLAGS $1" |
| 15 | + shift |
| 16 | + ;; |
| 17 | -m*) |
| 18 | arch="$arch $1" |
| 19 | shift |