summaryrefslogtreecommitdiff
path: root/kernel.c
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2008-04-10 13:57:27 -0700
committerAaron Plattner <aplattner@nvidia.com>2008-04-10 13:57:27 -0700
commitedf9cd73cc9dcdd2a3e09a61ffbe0cc0b578f588 (patch)
treecb599ceefa9ea6d78ab3e6601499e07383cf7657 /kernel.c
parent8d8f81b6a9748d9808e4a12babaf3a53b04bee16 (diff)
173.08173.08
Diffstat (limited to 'kernel.c')
-rw-r--r--kernel.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel.c b/kernel.c
index f0d8c5c..d4fccc8 100644
--- a/kernel.c
+++ b/kernel.c
@@ -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;
}