Messages in this thread | | | Date | Tue, 20 Feb 2001 22:48:30 -0600 | Subject | Re: Different CFLAGS for arch and non-arch files. | From | Peter Samuelson <> |
| |
[Peter Bergner] > Hopefully someone can point me in the right direction here. > I need to use different CFLAGS options depending on whether > I'm compiling arch dependent code or arch independent code.
Use the per-directory $(EXTRA_CFLAGS), and/or the per-file $(CFLAGS_foo.o). See also $(EXTRA_AFLAGS), $(EXTRA_LDFLAGS) and $(AFLAGS_foo.o). I suppose there ought to be a $(LDFLAGS_foo.o) for completeness, but nobody has needed it yet.
Peter - 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/
| |