aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorMatthias Klose <doko@debian.org>2023-06-29 14:44:52 +0100
committerNick Clifton <nickc@redhat.com>2023-06-29 14:44:52 +0100
commitfa2b501cdcbb7e9e8437f1dfb4b1e939dcb07264 (patch)
tree026ba1e500ff5200217c7c1de9f94a6b4c5312db /ld
parent96127db593a96c4848f76ecaff7f4feb5850c4b2 (diff)
downloadgdb-fa2b501cdcbb7e9e8437f1dfb4b1e939dcb07264.zip
gdb-fa2b501cdcbb7e9e8437f1dfb4b1e939dcb07264.tar.gz
gdb-fa2b501cdcbb7e9e8437f1dfb4b1e939dcb07264.tar.bz2
Ignore --prefix-file-map compiler option whist running testsuite.
Diffstat (limited to 'ld')
-rw-r--r--ld/Makefile.am4
-rw-r--r--ld/Makefile.in4
2 files changed, 4 insertions, 4 deletions
diff --git a/ld/Makefile.am b/ld/Makefile.am
index 0e02586..c3adbb0 100644
--- a/ld/Makefile.am
+++ b/ld/Makefile.am
@@ -992,9 +992,9 @@ check-DEJAGNU: site.exp
CC="$(CC)" CFLAGS="$(CFLAGS)" \
CXX="$(CXX)" CXXFLAGS="$(CXXFLAGS)" \
CC_FOR_TARGET="$(CC_FOR_TARGET)" \
- CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
+ CFLAGS_FOR_TARGET="$(filter-out -ffile-prefix-map=%,$(CFLAGS_FOR_TARGET))" \
CXX_FOR_TARGET="$(CXX_FOR_TARGET)" \
- CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
+ CXXFLAGS_FOR_TARGET="$(filter-out -ffile-prefix-map=%,$(CXXFLAGS_FOR_TARGET))" \
OFILES="$(OFILES)" BFDLIB="$(TESTBFDLIB)" CTFLIB="$(TESTCTFLIB) $(ZLIB)" \
SFRAMELIB="$(TESTSFRAMELIB)" \
JANSSON_LIBS="$(JANSSON_LIBS)" ZSTD_LIBS="$(ZSTD_LIBS)" \
diff --git a/ld/Makefile.in b/ld/Makefile.in
index 7939cf1..d1a5602 100644
--- a/ld/Makefile.in
+++ b/ld/Makefile.in
@@ -2688,9 +2688,9 @@ check-DEJAGNU: site.exp
CC="$(CC)" CFLAGS="$(CFLAGS)" \
CXX="$(CXX)" CXXFLAGS="$(CXXFLAGS)" \
CC_FOR_TARGET="$(CC_FOR_TARGET)" \
- CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
+ CFLAGS_FOR_TARGET="$(filter-out -ffile-prefix-map=%,$(CFLAGS_FOR_TARGET))" \
CXX_FOR_TARGET="$(CXX_FOR_TARGET)" \
- CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
+ CXXFLAGS_FOR_TARGET="$(filter-out -ffile-prefix-map=%,$(CXXFLAGS_FOR_TARGET))" \
OFILES="$(OFILES)" BFDLIB="$(TESTBFDLIB)" CTFLIB="$(TESTCTFLIB) $(ZLIB)" \
SFRAMELIB="$(TESTSFRAMELIB)" \
JANSSON_LIBS="$(JANSSON_LIBS)" ZSTD_LIBS="$(ZSTD_LIBS)" \