diff options
author | David Woodhouse <dwmw2@infradead.org> | 2007-08-29 11:59:47 +0100 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2007-08-29 11:59:47 +0100 |
commit | 8ef59d2c9ca8675bf9676c49847826427d9b6d26 (patch) | |
tree | 4495bd615ab3a6eb291b45bf64ee6c962da46f91 /Makefile | |
parent | 2a032bca585e27ceb0f293905718b416bc297ce2 (diff) |
Make optflags easier for distros to override
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,12 +1,13 @@ # -*- sh -*- +OPTFLAGS := -O2 -Wall SBINDIR=/usr/sbin MANDIR=/usr/man INCLUDEDIR=/usr/include #CROSS=arm-linux- CC := $(CROSS)gcc -CFLAGS := -I./include -O2 -Wall +CFLAGS := -I./include $(OPTFLAGS) ifeq ($(origin CROSS),undefined) BUILDDIR := . |