Bug 970031 - Re-apply bug 761077 to unbreak xptcall build on FreeBSD sparc64. r=froydnj, a=NPOTB
authorJan Beich <jbeich@tormail.org>
Mon, 10 Feb 2014 08:58:57 -0500
changeset 176286 5f7759dd5abae952126ef043d45ceccab7cc26a6
parent 176285 88806ebdaacd6dcbf8a14c01a54eb19b8bb44182
child 176287 02935dcaa786a541f4018ad9795a70eae51a9519
push id445
push userffxbld
push dateMon, 10 Mar 2014 22:05:19 +0000
treeherdermozilla-release@dc38b741b04e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfroydnj, NPOTB
bugs970031, 761077
milestone28.0
Bug 970031 - Re-apply bug 761077 to unbreak xptcall build on FreeBSD sparc64. r=froydnj, a=NPOTB
xpcom/reflect/xptcall/src/md/unix/moz.build
--- a/xpcom/reflect/xptcall/src/md/unix/moz.build
+++ b/xpcom/reflect/xptcall/src/md/unix/moz.build
@@ -269,17 +269,17 @@ if CONFIG['OS_ARCH'] == 'NetBSD' and CON
 if CONFIG['OS_ARCH'] == 'OpenBSD' and CONFIG['OS_TEST'] == 'sparc':
     SOURCES += [
         'xptcinvoke_asm_sparc_openbsd.s',
         'xptcinvoke_sparc_openbsd.cpp',
         'xptcstubs_asm_sparc_openbsd.s',
         'xptcstubs_sparc_openbsd.cpp',
     ]
 
-if CONFIG['OS_ARCH'] == 'OpenBSD' and CONFIG['OS_TEST'] == 'sparc64':
+if CONFIG['OS_ARCH'] in ('OpenBSD', 'FreeBSD') and CONFIG['OS_TEST'] == 'sparc64':
     SOURCES += [
         'xptcinvoke_asm_sparc64_openbsd.s',
         'xptcinvoke_sparc64_openbsd.cpp',
         'xptcstubs_asm_sparc64_openbsd.s',
         'xptcstubs_sparc64_openbsd.cpp',
     ]
 
 if CONFIG['OS_ARCH'] == 'SunOS' and CONFIG['OS_TEST'].find('86') == -1: