File crosstools-rpmlintrc of Package gcc
# ldconfig should be run on the target, not the build host, if at all.
addFilter("E: library-without-ldconfig-postun")
addFilter("E: library-without-ldconfig-postin")
setBadness('library-without-ldconfig-postin', 0)
setBadness('library-without-ldconfig-postun', 0)
# Just because RPM is way too dumb to understand cross compilers:
addFilter("E: arch-independent-package-contains-binary-or-object")
setBadness('arch-independent-package-contains-binary-or-object', 0)