aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorJohn Högberg <[email protected]>2017-07-11 15:08:23 +0200
committerJohn Högberg <[email protected]>2017-07-11 15:25:10 +0200
commit4ac0e889944d9529e7904e61700e1205d166ca19 (patch)
tree3801eea63ddf38deb756a3e518ec449389f3e2bb /erts
parent45787fb84c07352171cac7114ef28057c8305a8d (diff)
downloadotp-4ac0e889944d9529e7904e61700e1205d166ca19.tar.gz
otp-4ac0e889944d9529e7904e61700e1205d166ca19.tar.bz2
otp-4ac0e889944d9529e7904e61700e1205d166ca19.zip
Fix building debug emulator on windows
CFLAGS weren't updated to include the sys/common directory for this build target.
Diffstat (limited to 'erts')
-rw-r--r--erts/etc/common/Makefile.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/erts/etc/common/Makefile.in b/erts/etc/common/Makefile.in
index 4bcbb288b3..5b1b9119ce 100644
--- a/erts/etc/common/Makefile.in
+++ b/erts/etc/common/Makefile.in
@@ -70,10 +70,12 @@ endif
ifeq ($(TARGET),win32)
ifeq ($(TYPE),debug)
CFLAGS = $(subst -O2,-g,@CFLAGS@ @DEFS@ $(TYPE_FLAGS) @WFLAGS@ -I$(SYSDIR) \
- -I$(EMUDIR) $(ERTS_INCL) -DOTP_SYSTEM_VERSION=\"$(SYSTEM_VSN)\")
+ -I$(EMUDIR) -I$(COMSYSDIR) $(ERTS_INCL) \
+ -DOTP_SYSTEM_VERSION=\"$(SYSTEM_VSN)\")
LDFLAGS += -g
endif
endif
+
BINDIR = $(ERL_TOP)/bin/$(TARGET)
OBJDIR = $(ERL_TOP)/erts/obj$(TYPEMARKER)/$(TARGET)
EMUDIR = $(ERL_TOP)/erts/emulator/beam