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