cxxflags-nozlib.patch 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. --- w-openjdk-6.orig/icedtea6-1.10/patches/libraries.patch 2011-02-23 23:32:34.602901049 +0100
  2. +++ w-openjdk-6/icedtea6-1.10/patches/libraries.patch 2011-08-24 15:07:24.347475241 +0200
  3. @@ -24648,7 +24648,7 @@
  4. - $(ZIPOBJDIR)/inffast.$(OBJECT_SUFFIX)
  5. -
  6. - ZINCLUDE=-I$(SHARE_SRC)/native/java/util/zip/zlib-1.1.3
  7. -- OTHER_CXXFLAGS += $(ZINCLUDE)
  8. +- CXXFLAGS_COMMON += $(ZINCLUDE)
  9. - LDDFLAGS += $(ZIPOBJS)
  10. + $(ZIPOBJDIR)/deflate.$(OBJECT_SUFFIX) \
  11. + $(ZIPOBJDIR)/trees.$(OBJECT_SUFFIX) \
  12. @@ -24663,7 +24663,7 @@
  13. +
  14. + OTHER_LDLIBS += -lz
  15. else
  16. - OTHER_CXXFLAGS += -DNO_ZLIB -DUNPACK_JNI
  17. + CXXFLAGS_COMMON += -DNO_ZLIB -DUNPACK_JNI
  18. - OTHER_LDLIBS += $(JVMLIB)
  19. + OTHER_LDLIBS += -lz $(JVMLIB)
  20. endif
  21. --- w-openjdk-6.orig/icedtea6-1.10/patches/linker-libs-order.patch 2011-02-23 23:32:34.653236038 +0100
  22. +++ w-openjdk-6/icedtea6-1.10/patches/linker-libs-order.patch 2011-08-24 15:53:05.047474381 +0200
  23. @@ -31,7 +31,7 @@
  24. - OTHER_LDLIBS += -lz
  25. else
  26. - OTHER_CXXFLAGS += -DNO_ZLIB -DUNPACK_JNI
  27. + CXXFLAGS_COMMON += -DNO_ZLIB -DUNPACK_JNI
  28. - OTHER_LDLIBS += -lz $(JVMLIB)
  29. + OTHER_LDLIBS += $(JVMLIB)
  30. endif