patch-build_make_Makefile 1.1 KB

123456789101112131415161718192021222324
  1. --- libvpx-v0.9.7-p1.orig/build/make/Makefile 2011-08-15 23:02:45.000000000 +0200
  2. +++ libvpx-v0.9.7-p1/build/make/Makefile 2011-09-17 18:03:25.467990966 +0200
  3. @@ -193,8 +193,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. # make-3.80 has a bug with expanding large input strings to the eval function,
  13. # which was triggered in some cases by the following component of
  14. @@ -227,8 +227,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)