disable-gamma.patch 812 B

12345678910111213141516171819
  1. Fails when cross-compilation is done, disable it.
  2. --- w-openjdk-6-1.orig/openjdk-6/hotspot/make/linux/makefiles/buildtree.make 2011-02-28 17:03:13.000000000 +0100
  3. +++ w-openjdk-6-1/openjdk-6/hotspot/make/linux/makefiles/buildtree.make 2011-04-11 12:47:31.000000000 +0200
  4. @@ -352,12 +352,8 @@
  5. echo "if [ -z \$$JAVA_HOME ]; then { $(NO_JAVA_HOME_MSG); exit 0; }; fi"; \
  6. echo "if ! \$${JAVA_HOME}/bin/java $(JAVA_FLAG) -fullversion 2>&1 > /dev/null"; \
  7. echo "then"; \
  8. - echo " $(WRONG_DATA_MODE_MSG); exit 0;"; \
  9. + echo " exit 0;"; \
  10. echo "fi"; \
  11. - echo "rm -f Queens.class"; \
  12. - echo "\$${JAVA_HOME}/bin/javac -d . $(GAMMADIR)/make/test/Queens.java"; \
  13. - echo '[ -f gamma_g ] && { gamma=gamma_g; }'; \
  14. - echo './$${gamma:-gamma} $(TESTFLAGS) Queens < /dev/null'; \
  15. ) > $@
  16. $(QUIETLY) chmod +x $@