diff options
| author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2018-02-11 03:03:40 +0200 | 
|---|---|---|
| committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2018-04-09 21:52:12 +0300 | 
| commit | a624564ebdbd700202b685d19f3204d55d0dfe58 (patch) | |
| tree | 8a4cf8f167b2c1905b2a402665c1c337f34330c5 /Makefile | |
| parent | 377b6aa0701752711f7058d5de1081e61cfdc9cb (diff) | |
Don't override CFLAGS if set
If the CFLAGS environment variable is set, extend it instead of
overriding it.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 2 | 
1 files changed, 1 insertions, 1 deletions
| @@ -1,7 +1,7 @@  CROSS_COMPILE ?=  CC	:= $(CROSS_COMPILE)gcc -CFLAGS	?= -O2 -W -Wall -Iinclude +CFLAGS	+= -O2 -W -Wall -Iinclude  LDFLAGS	?=  LIBS	:= -lrt | 
