-
Bug
-
Resolution: Fixed
-
P3
-
1.4.0
-
None
-
beta2
-
sparc
-
solaris_7
the line:
dummy := $(shell $(MKDIR) -p $(BINDIR))
needs to go after the block:
# OBJDIRNAME is the name of the directory where the object code is to
# be placed. It's name depends on whether is it debug or optimized code
# and whether it the data model architecture is 32-bit or not.
# Sometimes we need to specifically identify either the DEBUG or OPTIMIZED
# location.
# BINDIR is for generated binaries
ifneq ($(ARCH_DATA_MODEL), 32)
OBJDIRNAME = obj$(SUFFIX)$(ARCH_DATA_MODEL)
OBJDIR = $(TMPDIR)/$(OBJDIRNAME)
DBG_OBJDIR = $(TMPDIR)/obj$(DBG_SUFFIX)$(ARCH_DATA_MODEL)
OPT_OBJDIR = $(TMPDIR)/obj$(OPT_SUFFIX)$(ARCH_DATA_MODEL)
BINDIR = $(OUTPUTDIR)/bin/$(ARCH)
else
OBJDIRNAME = obj$(SUFFIX)
OBJDIR = $(TMPDIR)/$(OBJDIRNAME)
DBG_OBJDIR = $(TMPDIR)/obj$(DBG_SUFFIX)
OPT_OBJDIR = $(TMPDIR)/obj$(OPT_SUFFIX)
BINDIR = $(OUTPUTDIR)/bin
endif
dummy := $(shell $(MKDIR) -p $(BINDIR))
needs to go after the block:
# OBJDIRNAME is the name of the directory where the object code is to
# be placed. It's name depends on whether is it debug or optimized code
# and whether it the data model architecture is 32-bit or not.
# Sometimes we need to specifically identify either the DEBUG or OPTIMIZED
# location.
# BINDIR is for generated binaries
ifneq ($(ARCH_DATA_MODEL), 32)
OBJDIRNAME = obj$(SUFFIX)$(ARCH_DATA_MODEL)
OBJDIR = $(TMPDIR)/$(OBJDIRNAME)
DBG_OBJDIR = $(TMPDIR)/obj$(DBG_SUFFIX)$(ARCH_DATA_MODEL)
OPT_OBJDIR = $(TMPDIR)/obj$(OPT_SUFFIX)$(ARCH_DATA_MODEL)
BINDIR = $(OUTPUTDIR)/bin/$(ARCH)
else
OBJDIRNAME = obj$(SUFFIX)
OBJDIR = $(TMPDIR)/$(OBJDIRNAME)
DBG_OBJDIR = $(TMPDIR)/obj$(DBG_SUFFIX)
OPT_OBJDIR = $(TMPDIR)/obj$(OPT_SUFFIX)
BINDIR = $(OUTPUTDIR)/bin
endif