diff options
author | Aaron Plattner <aplattner@nvidia.com> | 2008-04-10 13:57:27 -0700 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2008-04-10 13:57:27 -0700 |
commit | edf9cd73cc9dcdd2a3e09a61ffbe0cc0b578f588 (patch) | |
tree | cb599ceefa9ea6d78ab3e6601499e07383cf7657 /kernel.c | |
parent | 8d8f81b6a9748d9808e4a12babaf3a53b04bee16 (diff) |
173.08173.08
Diffstat (limited to 'kernel.c')
-rw-r--r-- | kernel.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1451,9 +1451,11 @@ int check_cc_version(Options *op, Package *p) * If we're building/installing for a different kernel, then we * can't do the gcc version check (we don't have a /proc/version * string from which to get the kernel's gcc version). + * If the user passes the option no-cc-version-check, then we also + * shouldn't perform the cc version check. */ - if (op->kernel_name) { + if (op->ignore_cc_version_check) { setenv("IGNORE_CC_MISMATCH", "1", 1); return TRUE; } |