Messages in this thread | | | Subject | Usage of EXTRA_CFLAGS | Date | Thu, 24 Feb 2005 11:48:19 -0300 | From | Horst von Brand <> |
| |
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/
| |