Update d/rules to reflect the move of libfuzzer into compiler-rt

This commit is contained in:
Sylvestre Ledru 2017-10-17 11:51:13 +00:00
parent 058d6f3183
commit db12da9acf
2 changed files with 2 additions and 1 deletions

1
debian/changelog vendored
View File

@ -1,6 +1,7 @@
llvm-toolchain-snapshot (1:6.0~svn315736-2) unstable; urgency=medium llvm-toolchain-snapshot (1:6.0~svn315736-2) unstable; urgency=medium
* Also ship ld64.lld in the lld-X.Y package * Also ship ld64.lld in the lld-X.Y package
* Update d/rules to reflect the move of libfuzzer into compiler-rt
-- Sylvestre Ledru <sylvestre@debian.org> Mon, 16 Oct 2017 10:24:33 +0200 -- Sylvestre Ledru <sylvestre@debian.org> Mon, 16 Oct 2017 10:24:33 +0200

2
debian/rules vendored
View File

@ -302,7 +302,7 @@ ifeq (${LIBFUZZER_ENABLE},yes)
CFLAGS=`dpkg-buildflags --get CFLAGS`; \ CFLAGS=`dpkg-buildflags --get CFLAGS`; \
CFLAGS="$$CFLAGS `dpkg-buildflags --get CPPFLAGS`"; \ CFLAGS="$$CFLAGS `dpkg-buildflags --get CPPFLAGS`"; \
echo $$CFLAGS; \ echo $$CFLAGS; \
bin/clang++ -c $$CFLAGS -std=c++11 ../lib/Fuzzer/*.cpp -IFuzzer; \ bin/clang++ -c $$CFLAGS -std=c++11 ../compiler-rt/lib/fuzzer/*.cpp -IFuzzer; \
ar ruv libFuzzer.a Fuzzer*.o ar ruv libFuzzer.a Fuzzer*.o
endif endif