patch-build_make_Makefile 1004 B

123456789101112131415161718192021222324
  1. --- libvpx-v1.2.0.orig/build/make/Makefile 2013-10-14 20:16:36.000000000 +0200
  2. +++ libvpx-v1.2.0/build/make/Makefile 2014-01-06 11:06:33.806841128 +0100
  3. @@ -210,8 +210,8 @@ endif
  4. define linker_template
  5. $(1): $(filter-out -%,$(2))
  6. $(1):
  7. - $(if $(quiet),@echo " [LD] $$@")
  8. - $(qexec)$$(LD) $$(strip $$(INTERNAL_LDFLAGS) $$(LDFLAGS) -o $$@ $(2) $(3) $$(extralibs))
  9. + $(if $(quiet),@echo " [CC] $$@")
  10. + $(qexec)$$(CC) $$(strip $$(INTERNAL_LDFLAGS) $$(LDFLAGS) -o $$@ $(2) $(3) $$(extralibs))
  11. endef
  12. define linkerxx_template
  13. $(1): $(filter-out -%,$(2))
  14. @@ -250,8 +250,8 @@ define so_template
  15. #
  16. # This needs further abstraction for dealing with non-GNU linkers.
  17. $(1):
  18. - $(if $(quiet),@echo " [LD] $$@")
  19. - $(qexec)$$(LD) -shared $$(LDFLAGS) \
  20. + $(if $(quiet),@echo " [CC] $$@")
  21. + $(qexec)$$(CC) -shared $$(LDFLAGS) \
  22. -Wl,--no-undefined -Wl,-soname,$$(SONAME) \
  23. -Wl,--version-script,$$(SO_VERSION_SCRIPT) -o $$@ \
  24. $$(filter %.o,$$?) $$(extralibs)