diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile | 1 | ||||
-rw-r--r-- | src/config.mk | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile index a1a3f287..3c0213c5 100644 --- a/src/Makefile +++ b/src/Makefile @@ -3,6 +3,7 @@ BASEDIR=.. include $(BASEDIR)/config.mk +include config.mk DEPS=$(patsubst %.o, %.d, $(OBJ)) diff --git a/src/config.mk b/src/config.mk new file mode 100644 index 00000000..bb4706af --- /dev/null +++ b/src/config.mk @@ -0,0 +1,3 @@ +ifeq ($(shell $(BASEDIR)/$(TOOLDIR)/check_header.sh execinfo.h $(CC)), 1) +CFLAGS += -DHAS_EXECINFO +endif |