MSVC 2010 using http://hg.mozilla.org/integration/mozilla-inbound/rev/f827e9173fea
arm.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
File in question:
Only actually does anything #if defined(MOZILLA_ARM_HAVE_CPUID_DETECTION), which is set here:
if defined(__linux__) || defined(ANDROID) || (defined(_MSC_VER) && defined(_M_ARM))
Created attachment 560793 [details] [diff] [review]
Adds a |ifeq (arm, $(TARGET_CPU))| around the arm.cpp line.
Builds fine locally with MSVC 2010 and the LNK4221 warning in comment 0 no longer appears.
Sent to try:
Created attachment 560794 [details] [diff] [review]
As before, except this time with += rather than =+ (doh!).
Comment on attachment 560794 [details] [diff] [review]
>diff --git a/xpcom/glue/objs.mk b/xpcom/glue/objs.mk
>+ifeq (arm, $(TARGET_CPU))