diff options
author | Peter Foley <pefoley2@pefoley.com> | 2016-01-17 09:40:47 -0500 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-01-18 18:50:56 +0000 |
commit | bee5797feb1b663fe308c18b4d5d6c16b05cda1b (patch) | |
tree | 35e1d8d5e5e2b7f5aa1b5644fcfa9e82829ae9e4 /bin | |
parent | 8633e6b3f5882508f23ed4dba2b3651ef7a4e524 (diff) |
iwyu fixes
Change-Id: I2dc9218ae8c4ea51fea5f710664520a598e7c4a3
Reviewed-on: https://gerrit.libreoffice.org/21536
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/gen-iwyu-dummy-lib | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/gen-iwyu-dummy-lib b/bin/gen-iwyu-dummy-lib index 92ec408af30c..1d47f0403537 100755 --- a/bin/gen-iwyu-dummy-lib +++ b/bin/gen-iwyu-dummy-lib @@ -23,7 +23,7 @@ iwyu_INCLUDES=$(grep -h -r ":$" ${BUILDDIR}/workdir/Dep/*Object* \ iwyu_INCLUDEDIRS=$(echo "${iwyu_INCLUDES}" | sed -e "s,/[^/]*$,," | grep -v "^include" | sort -u) iwyu_EXTERNALS=$(ls ${SRCDIR}/*/*Library*mk ${SRCDIR}/*/*Executable*mk \ - | xargs awk -f bin/gen-iwyu-dummy-lib.awk \ + | xargs awk -f ${SRCDIR}/bin/gen-iwyu-dummy-lib.awk \ | grep -v '$(\|)\|tde\|expat_x64\|zlib_x64\|mozilla\|apr\|serf') mkdir -p ${BUILDDIR}/iwyudummy @@ -62,7 +62,7 @@ for dir in $(echo ${iwyu_INCLUDEDIRS_EXTRA} | sed -e "s/ /\n/g" | uniq) ${iwyu_I echo "-I${SRCDIR}/${dir} \\"; done >> ${iwyu_LIB} # it fails to find stddef.h? -echo '-I/usr/lib/clang/3.6/include \' >> ${iwyu_LIB} +echo "-I/usr/lib/clang/$(llvm-config --version)/include \\" >> ${iwyu_LIB} echo "))" >> ${iwyu_LIB} >> ${iwyu_LIB} echo '$(eval $(call gb_StaticLibrary__add_iwyu_headers,iwyudummy,\' >> ${iwyu_LIB} |