Sophie

Sophie

distrib > Mandriva > 2008.1 > i586 > media > main-release-src > by-pkgid > 7773e0f0d55a66feabd2251714baeaf5 > files > 9

java-1.7.0-icedtea-1.7.0.0-24.614.2mdv2008.1.src.rpm

Index: openjdk/hotspot/build/linux/makefiles/rules.make
===================================================================
--- openjdk.orig/hotspot/build/linux/makefiles/rules.make
+++ openjdk/hotspot/build/linux/makefiles/rules.make
@@ -37,8 +37,8 @@ DEMANGLER       = c++filt
 DEMANGLE        = $(DEMANGLER) < $@ > .$@ && mv -f .$@ $@
 
 # $(CC) is the c compiler (cc/gcc), $(CCC) is the c++ compiler (CC/g++).
-C_COMPILE       = $(CC) $(CPPFLAGS) $(CFLAGS)
-CC_COMPILE      = $(CCC) $(CPPFLAGS) $(CFLAGS)
+C_COMPILE       = $(CC) $(CPPFLAGS) $(CFLAGS) $(OTHER_CFLAGS)
+CC_COMPILE      = $(CCC) $(CPPFLAGS) $(CFLAGS) $(OTHER_CXXFLAGS)
 
 AS.S            = $(AS) $(ASFLAGS)