qemu-sizer.patch 961 B

12345678910111213141516171819202122
  1. --- w-openjdk-6.orig/openjdk-6/jdk/make/sun/xawt/Makefile 2011-02-28 17:06:12.000000000 +0100
  2. +++ w-openjdk-6/openjdk-6/jdk/make/sun/xawt/Makefile 2011-08-20 18:45:28.499240773 +0200
  3. @@ -225,7 +225,7 @@
  4. $(SIZERS): $(SIZERS_C)
  5. $(prep-target)
  6. - $(CC) $(CFLAGS_$(subst .,,$(suffix $@))) $(CPPFLAGS) -o $@ $(SIZER)$(suffix $@).c
  7. + $(CC) -static $(CFLAGS_$(subst .,,$(suffix $@))) $(CPPFLAGS) -o $@ $(SIZER)$(suffix $@).c
  8. $(WRAPPER_GENERATOR_CLASS): $(WRAPPER_GENERATOR_JAVA)
  9. $(prep-target)
  10. @@ -243,8 +243,8 @@
  11. $(CP) $(PREDEFINED_SIZES_TMPL) $@; \
  12. $(CHMOD) +w $@;\
  13. else \
  14. - $(ECHO) GENERATING $@; \
  15. - $(WRAPPER_GENERATOR_DIR)/sizer$(suffix $@) > $@; \
  16. + $(ECHO) GENERATING $@ via $(QEMU) $(WRAPPER_GENERATOR_DIR)/sizer..; \
  17. + $(QEMU) $(WRAPPER_GENERATOR_DIR)/sizer$(suffix $@) > $@; \
  18. fi
  19. @if [ "$(DOCOMPARE)$(suffix $@)" = "true.64" ]; then \
  20. $(ECHO) COMPARING $@ and $(STORED_SIZES_TMPL_$(PLATFORM)_$(LIBARCH)); \