diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/toolchain/addons/gdb/gdb_host/gdb_host.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/core/toolchain/addons/gdb/gdb_host/gdb_host.mk b/core/toolchain/addons/gdb/gdb_host/gdb_host.mk index 410a25d..1a1c530 100644 --- a/core/toolchain/addons/gdb/gdb_host/gdb_host.mk +++ b/core/toolchain/addons/gdb/gdb_host/gdb_host.mk @@ -1,6 +1,6 @@ ################################################################################ # Embtoolkit -# Copyright(C) 2009-2014 Abdoulaye Walsimou GAYE. +# Copyright(C) 2009-2017 Abdoulaye Walsimou GAYE. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -50,3 +50,9 @@ GDB_HOST_PREFIX := $(embtk_tools) define embtk_cleanup_gdb_host rm -rf $(GDB_HOST_BUILD_DIR) endef + +ifeq ($(embtk_buildhost_os_type),cygwin) +# gdb requires some regex features not available on cygwin, such as +# re_set_syntax(RE_SYNTAX_GREP); +GDB_HOST_CFLAGS += -DUSE_INCLUDED_REGEX +endif |