summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/libid3tag/libid3tag/cflags_filter.patch
blob: 0d1d0dc381c5ae8edb80cadaf6afc6388468d864 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
configure contains CFLAGS filtering code which was removing our prefix-map
flags. We need those to generate reproducible binaries. Allow them through.

Upstream-Status: Pending
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

Index: libid3tag-0.15.1b/configure.ac
===================================================================
--- libid3tag-0.15.1b.orig/configure.ac
+++ libid3tag-0.15.1b/configure.ac
@@ -99,6 +99,10 @@ do
 	-mno-cygwin)
 	    shift
 	    ;;
+	-fmacro-prefix-map*|-fdebug-prefix-map*)
+	    CFLAGS="$CFLAGS $1"
+	    shift
+	    ;;
 	-m*)
 	    arch="$arch $1"
 	    shift