mirror of
https://github.com/intel/isa-l.git
synced 2024-12-12 17:33:50 +01:00
build: Change include shortcut D to not conflict with env
The variable D= can be used to quickly add defines. This sets a null default so it can only be overridden by the make command line. fixes #184 Change-Id: I84615174547f36208d6d577c1e30b6fac83139b3 Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
This commit is contained in:
parent
998e03bf95
commit
f980b36655
@ -7,6 +7,7 @@ pkginclude_HEADERS = include/test.h
|
|||||||
noinst_LTLIBRARIES =
|
noinst_LTLIBRARIES =
|
||||||
bin_PROGRAMS =
|
bin_PROGRAMS =
|
||||||
INCLUDE = -I $(srcdir)/include/
|
INCLUDE = -I $(srcdir)/include/
|
||||||
|
D =
|
||||||
|
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
pkgconfig_DATA = libisal.pc
|
pkgconfig_DATA = libisal.pc
|
||||||
|
1
make.inc
1
make.inc
@ -113,6 +113,7 @@ ifeq ($(shell uname),Darwin)
|
|||||||
STRIP_gcc =
|
STRIP_gcc =
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
D :=
|
||||||
INCLUDE = $(patsubst %,-I%/,$(subst :, ,$(VPATH)))
|
INCLUDE = $(patsubst %,-I%/,$(subst :, ,$(VPATH)))
|
||||||
CFLAGS = $(CFLAGS_$(arch)) $(CFLAGS_$(CC)) $(DEBUG) -O2 $(DEFINES) $(INCLUDE)
|
CFLAGS = $(CFLAGS_$(arch)) $(CFLAGS_$(CC)) $(DEBUG) -O2 $(DEFINES) $(INCLUDE)
|
||||||
ASFLAGS = $(ASFLAGS_$(arch)) $(ASFLAGS_$(CC)) $(DEBUG_$(AS)) $(DEFINES) $(INCLUDE)
|
ASFLAGS = $(ASFLAGS_$(arch)) $(ASFLAGS_$(CC)) $(DEBUG_$(AS)) $(DEFINES) $(INCLUDE)
|
||||||
|
Loading…
Reference in New Issue
Block a user