Apache OpenOffice (AOO) Bugzilla – Issue 32984
vcl/unx/source/app/makefile.mk: using CC and not $(CC)?
Last modified: 2010-08-25 13:06:41 UTC
Hi, makefile.mk contains: $(SLO)$/%.obj: %.s CC -c -o $(@:s/.obj/.o/) $< && touch $@ What is it use? Is it used at all? Almost no system has CC (except Solaris).
it's a rule to compile an assembler file. The file is only available for Solaris Sparc and Solaris Intel and is tailored for CC compiled code, it doesn't work with gcc. I don't know if it even does compile with gcc. And yes, it's a hack.
it's a local solution to a local problem and therefore not as dirty as it looks on first glance. but i'm not sure if the two objects where this rule is used for are still required. and yes, it should read "$(CXX)" instead of "CC" but that's a minor issue here as the code is meant for sun CC only.
any concerns closing this?
no, but can we at least comment the purpose of this "local" code ;-) It is not that clear from the "external" point of view...
added comment
.
Created attachment 70563
Created attachment 70567
Created attachment 70568
Created attachment 71380
Created attachment 71384