]> sourceware.org Git - systemtap.git/commit
PR12895: Use NOSTDINC_FLAGS in kernel stapconf checks
authorJosh Stone <jistone@redhat.com>
Tue, 26 Jul 2011 19:25:34 +0000 (12:25 -0700)
committerJosh Stone <jistone@redhat.com>
Tue, 26 Jul 2011 19:25:34 +0000 (12:25 -0700)
commitfab6097f33d7576bd2a918bebaf3e28413242308
tree2a75583d6899339037344e6d82f6a926b0b04623
parente7081358cd9a9def036a0f0fef3290cbe5dc34f7
PR12895: Use NOSTDINC_FLAGS in kernel stapconf checks

We should never be looking in /usr/include/ for headers when building
for the kernel.  This particularly bit us in a case where RHEL6 gained
blk_types.h in newer kernels.  So if the system had kernel-headers.rpm
with this new header in /usr/include/, but was still running an older
kernel that lacked it in /lib/modules/`uname -r`/build/, then we'd
misidentify that header's availability in stapconf.

* buildrun.cxx (compile_pass): Add NOSTDINC_FLAGS to CHECK_BUILD.
buildrun.cxx
This page took 0.02901 seconds and 5 git commands to generate.