aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorMike Frysinger <vapier@chromium.org>2016-01-25 18:40:56 -0500
committerMike Frysinger <vapier@chromium.org>2016-01-25 18:40:56 -0500
commit4b5dcd0e692803e57b5fc83815a98f18b244a2d9 (patch)
tree9f7c802f755a04c5d42e84cdc3ec0552af5bf96f /Makefile.am
parenttest: stop building tons of copies of gtest/gmock objects (diff)
downloadbreakpad-4b5dcd0e692803e57b5fc83815a98f18b244a2d9.tar.xz
build: clean up .dwo files
When building with -gsplit-dwarf, the generated dwo files are left behind even when you `make clean`. Fix that up. BUG=chromium:579384 TEST=`./configure CXXFLAGS='-O -gsplit-dwarf' && make && make clean` removes dwo files now R=mark@chromium.org Review URL: https://codereview.chromium.org/1633893002 .
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index ccb43a59..e0a8b6ae 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1304,3 +1304,6 @@ EXTRA_DIST = \
src/tools/windows/dump_syms/testdata/dump_syms_regtest.sym \
src/tools/windows/symupload/symupload.cc \
src/tools/windows/symupload/symupload.vcproj
+
+mostlyclean-local:
+ -find src -name '*.dwo' -exec rm -f {} +