add -DPOCO_TARGET_OSARCH and -DPOCO_TARGET_OSNAME to COMMONFLAGS

This commit is contained in:
Guenter Obiltschnig 2016-02-02 15:03:12 +01:00
parent dee1efd56a
commit eb2861ddee

View File

@ -238,7 +238,7 @@ endif
#
# Compose compiler flags
#
COMMONFLAGS = -DPOCO_BUILD_HOST=$(HOSTNAME) $(POCO_FLAGS)
COMMONFLAGS = -DPOCO_BUILD_HOST=$(HOSTNAME) -DPOCO_TARGET_OSNAME=$(OSNAME) -DPOCO_TARGET_OSARCH=$(OSARCH) $(POCO_FLAGS)
CFLAGS += $(COMMONFLAGS) $(SYSFLAGS)
CXXFLAGS += $(COMMONFLAGS) $(SYSFLAGS)
LINKFLAGS += $(COMMONFLAGS) $(SYSFLAGS)