lkml.org 
[lkml]   [2005]   [Feb]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectUsage of EXTRA_CFLAGS
Date
From
Here (sparc64) I get build failures due to EXTRA_CFLAGS being set in
arch/sparc64/kernel/Makefile:

EXTRA_CFLAGS := -Werror

But if I override this setting (broken, filesistems use clear_user(),
discard the result and have comments justifiying this) on the make run like

make EXTRA_CFLAGS= all

the build fails in security/selinux/avc.c, since security/selinux/Makefile
adds:

EXTRA_CFLAGS += -Isecurity/selinux/include

For now, I edited arch/sparc64/Makefile. There has to be some way to
control stuff like -Werror independently of other stuff (or perhaps the
SELinux Makefile got it wrong?).
--
Dr. Horst H. von Brand User #22616 counter.li.org
Departamento de Informatica Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria +56 32 654239
Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:10    [W:0.037 / U:1.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site