openjdk.patch 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. use precompiled ecj.
  2. --- openjdk-6.orig/Makefile 2011-02-28 17:02:07.000000000 +0100
  3. +++ openjdk-6/Makefile 2011-04-06 19:47:19.261818496 +0200
  4. @@ -25,9 +25,7 @@
  5. BUILD_PARENT_DIRECTORY=.
  6. -ifndef TOPDIR
  7. - TOPDIR:=.
  8. -endif
  9. +TOPDIR:=.
  10. ifndef JDK_TOPDIR
  11. JDK_TOPDIR=$(TOPDIR)/jdk
  12. --- icedtea6-1.10.orig/Makefile.in 2011-03-02 20:48:45.161291458 +0100
  13. +++ icedtea6-1.10/Makefile.in 2011-04-06 20:10:40.581819545 +0200
  14. @@ -1643,10 +1643,14 @@
  15. stamps/native-ecj.stamp:
  16. mkdir -p stamps ; \
  17. - if test "x$(GCJ)" != "xno"; then \
  18. - $(GCJ) $(IT_CFLAGS) -Wl,-Bsymbolic -findirect-dispatch -o native-ecj \
  19. - --main=org.eclipse.jdt.internal.compiler.batch.Main ${ECJ_JAR} ; \
  20. - fi ; \
  21. + if test -n "${ADK_ECJ}" && test -x "${ADK_ECJ}"; then \
  22. + ln -s "${ADK_ECJ}" native-ecj; \
  23. + else \
  24. + if test "x$(GCJ)" != "xno"; then \
  25. + $(GCJ) $(IT_CFLAGS) -Wl,-Bsymbolic -findirect-dispatch -o native-ecj \
  26. + --main=org.eclipse.jdt.internal.compiler.batch.Main ${ECJ_JAR} ; \
  27. + fi ; \
  28. + fi; \
  29. touch stamps/native-ecj.stamp
  30. clean-native-ecj: