Bug 594718 lock_sparc*.il should not be used on x86 machine r=ted.mielczarek

This commit is contained in:
Ginn Chen 2010-09-28 18:03:51 +08:00
parent 5b67866f99
commit c23cb1789b

View File

@ -689,6 +689,7 @@ endif
endif
ifdef SOLARIS_SUNPRO_CXX
ifeq ($(TARGET_CPU),sparc
# Sun Studio SPARC doesn't work well with gcc inline asm, use lock_SunOS_sparc*.il
jslock.o: jslock.cpp Makefile.in lock_sparcv8plus.il lock_sparcv9.il
$(REPORT_BUILD)
@ -698,6 +699,7 @@ ifeq (sparcv9,$(findstring sparcv9,$(OS_TEST)))
else
$(CXX) -o $@ -c $(COMPILE_CFLAGS) $(srcdir)/lock_sparcv8plus.il $<
endif # sparcv9
endif # sparc
endif # SOLARIS_SUNPRO_CXX
ifeq ($(OS_ARCH),IRIX)