jdk/make/sun/jpeg/Makefile
changeset 9002 6ee0abf0167f
parent 8583 15dea0fdc2ea
child 9050 26c2c1de1631
--- a/jdk/make/sun/jpeg/Makefile	Fri Mar 25 11:58:30 2011 +0800
+++ b/jdk/make/sun/jpeg/Makefile	Fri Mar 25 07:09:38 2011 -0400
@@ -73,9 +73,10 @@
   # Recommended way to avoid such warning is to declare the variable as
   # volatile to prevent the optimization. However, this approach does not
   # work because we have to declare all variables as volatile in result.
-
+ifndef CROSS_COMPILE_ARCH
   OTHER_CFLAGS += -Wno-clobbered
 endif
+endif
 
 include $(BUILDDIR)/common/Mapfile-vers.gmk
 include $(BUILDDIR)/common/Library.gmk