Skip to content

Commit ad210bb

Browse files
authored
Merge pull request #1457 from pslldq/repro
filter prefix maps from the embedded build flags
2 parents 7959b6d + f9a8b5a commit ad210bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ else
8282
endif
8383
src/dunst.o: src/dunst.c
8484
${CC} -o $@ -c $< ${CPPFLAGS} ${CFLAGS} \
85-
-D_CCDATE="${BUILD_DATE}" -D_CFLAGS="$(filter-out $(filter -I%,${INCS}),${CFLAGS})" -D_LDFLAGS="${LDFLAGS}"
85+
-D_CCDATE="${BUILD_DATE}" -D_CFLAGS="$(filter-out $(filter -I%,${INCS}) -fdebug-prefix-map% -fmacro-prefix-map% -ffile-prefix-map%,${CFLAGS})" -D_LDFLAGS="$(filter-out -fdebug-prefix-map% -fmacro-prefix-map% -ffile-prefix-map%,${LDFLAGS})"
8686

8787
%.o: %.c
8888
${CC} -o $@ -c $< ${CPPFLAGS} ${CFLAGS}

0 commit comments

Comments
 (0)