Bug 388971: Enable the 'make check' test checking for bad relocations. r=bsmedberg

This commit is contained in:
L. David Baron 2013-12-03 12:51:08 -08:00
parent 554948977a
commit 1396afb839

View File

@ -246,7 +246,7 @@ endif
# Look for R_386_PC32 relocations in shared libs, these
# break x86_64 builds and SELinux users.
ifeq ($(OS_TARGET)_$(TARGET_XPCOM_ABI),Linux_x86-gcc3)
scheck::
check::
@relcount=`find $(DIST)/bin -name '*.so' | xargs objdump -R | grep R_386_PC32 | wc -l` && if test $$relcount -gt 0; then echo 'FAILED: R_386_PC32 relocations detected in a shared library. Did you use a system header without adding it to config/system-headers?'; exit 1; else echo 'PASSED'; fi
endif