Do not remove all *.o in tests. Some of them are from upstream source

tarball. Thanks to Maarten Lankhorst for the fix.
This commit is contained in:
Sylvestre Ledru 2013-08-19 07:21:46 +00:00
parent fbe129744d
commit a2f2504b7e
2 changed files with 4 additions and 1 deletions

2
debian/changelog vendored
View File

@ -1,6 +1,8 @@
llvm-toolchain-3.3 (1:3.3-6) unstable; urgency=low
* Fix the FTBFS under hurd
* Do not remove all *.o in tests. Some of them are from upstream source
tarball. Thanks to Maarten Lankhorst for the fix.
-- Sylvestre Ledru <sylvestre@debian.org> Sun, 18 Aug 2013 16:45:53 +0200

3
debian/rules vendored
View File

@ -291,7 +291,8 @@ override_dh_auto_clean:
rm -rf $(TARGET_BUILD) tools/clang/include/clang/Debian/debian_path.h docs/_build/ tools/clang/docs/_html/
rm -f `ls debian/*.in|sed -e "s|.in$$||g"`
find utils -name '*.pyc' | xargs -r rm -f
find test -name '*.pyc' -o -name '*.o' -o -name '*.cm[ix]' | xargs -r rm -f
find test -name '*.pyc' -o -name '*.cm[ix]' | xargs -r rm -f
find test/Bindings -name '*.o' | xargs -r rm -f
rm -f tools/clang tools/polly tools/lldb projects/compiler-rt
rm -rf tools/clang/tools/extra