aboutsummaryrefslogtreecommitdiff
path: root/binutils
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 /binutils
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 'binutils')
-rw-r--r--binutils/Makefile.am2
-rw-r--r--binutils/Makefile.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/binutils/Makefile.am b/binutils/Makefile.am
index 904785b..bb86036 100644
--- a/binutils/Makefile.am
+++ b/binutils/Makefile.am
@@ -214,7 +214,7 @@ check-DEJAGNU: site.exp
CC="$(CC)" CFLAGS="$(CFLAGS)" \
CC_FOR_BUILD="$(CC_FOR_BUILD)" \
CC_FOR_TARGET="$(CC_FOR_TARGET)" \
- CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET) -O0" \
+ CFLAGS_FOR_TARGET="$(filter-out -ffile-prefix-map=%,$(CFLAGS_FOR_TARGET)) -O0" \
$(RUNTESTFLAGS); \
else echo "WARNING: could not find \`runtest'" 1>&2; :;\
fi
diff --git a/binutils/Makefile.in b/binutils/Makefile.in
index 0b8b8d4..2de46be 100644
--- a/binutils/Makefile.in
+++ b/binutils/Makefile.in
@@ -1837,7 +1837,7 @@ check-DEJAGNU: site.exp
CC="$(CC)" CFLAGS="$(CFLAGS)" \
CC_FOR_BUILD="$(CC_FOR_BUILD)" \
CC_FOR_TARGET="$(CC_FOR_TARGET)" \
- CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET) -O0" \
+ CFLAGS_FOR_TARGET="$(filter-out -ffile-prefix-map=%,$(CFLAGS_FOR_TARGET)) -O0" \
$(RUNTESTFLAGS); \
else echo "WARNING: could not find \`runtest'" 1>&2; :;\
fi