Closed Bug 378926 Opened 13 years ago Closed 13 years ago
_CMSRCS, HOST _CMMSRCS, .cc files in HOST _CPPSRCS
HOST programs on OSX don't support ObjC files, as it turns out. This patch allows for HOST_CMSRCS and HOST_CMMSRCS, and also allows you to use C++ files ending in .cc in HOST_CPPSRCS. In addition, it respects CPP_PROG_LINK for linking HOST_PROGRAM. Plus I added a few things to the showhost target, just for my sanity's sake.
Attachment #262933 - Flags: review?(benjamin)
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Shouldn't this read +ifeq ($(CPP_PROG_LINK),1) + $(HOST_CXX) -o $@ $(HOST_CXXFLAGS) ..... +else + $(HOST_CC) -o $@ $(HOST_CFLAGS) ..... +endif # CPP_PROG_LINK OS/2 build fails when building mar.exe, though the code hasn't changed for several years. The reason is that not all Flags are passed through. Exchanging HOST_CXXFLAGS and HOST_CFLAGS helps to overcome this.
Checked in a fix, thanks for finding that!
You need to log in before you can comment on or make changes to this bug.