use a $(COM)-$(OS)-$(CPUNAME) pattern

i.e. same pattern as sc/Library_vbaobj.mk and
writerfilter/Library_resourcemodel.mk and document that its a compile time
error which can be retested anytime with a new toolchain, not some weird scary
runtime error so must never be touched.
This commit is contained in:
Caolán McNamara 2012-01-31 22:09:32 +00:00
parent 634820b3a8
commit 5c0a389532

View file

@ -40,7 +40,10 @@ $(eval $(call gb_Library_set_include,oox,\
-I$(realpath $(SRCDIR)/oox/inc) \
))
ifeq ($(CPUNAME),IA64)
ifeq ($(COM)-$(OS)-$(CPUNAME),GCC-LINUX-IA64)
#Debian Linux ia64 fails at compile time on
#oox/source/drawingml/customshapepresets*.cxx which are apparently too large
#for the toolchain to handle with default optimization
$(eval $(call gb_Library_add_cxxflags,oox,\
-Os \
))