[vlc-devel] [PATCH v2 06/17] contrib: main: ensure NM is defined in makefile

Rémi Denis-Courmont remi at remlab.net
Thu Apr 30 10:44:26 CEST 2020


Ok but correct value for GCC is gcc-nm (also gcc-ranlib and gcc-ar so you could argue that it's a preexisting condition).

Le 29 avril 2020 23:40:49 GMT+03:00, Alexandre Janniaux <ajanni at videolabs.io> a écrit :
>ffmpeg rules.make is passing the variable to configure, and nm can be
>present in different flavour, for example in linux/macosx
>cross-compilation environments.
>---
> contrib/src/main.mak | 2 ++
> 1 file changed, 2 insertions(+)
>
>diff --git a/contrib/src/main.mak b/contrib/src/main.mak
>index 0a731f11dcc..534f1d11349 100644
>--- a/contrib/src/main.mak
>+++ b/contrib/src/main.mak
>@@ -70,6 +70,7 @@ endif
> ifneq ($(findstring $(origin AR),undefined default),)
> AR := ar
> endif
>+NM ?= nm
> RANLIB ?= ranlib
> STRIP ?= strip
> WIDL ?= widl
>@@ -88,6 +89,7 @@ endif
> ifneq ($(findstring $(origin AR),undefined default),)
> AR := $(HOST)-ar
> endif
>+NM ?= $(HOST)-nm
> RANLIB ?= $(HOST)-ranlib
> STRIP ?= $(HOST)-strip
> WIDL ?= $(HOST)-widl
>-- 
>2.26.2
>
>_______________________________________________
>vlc-devel mailing list
>To unsubscribe or modify your subscription options:
>https://mailman.videolan.org/listinfo/vlc-devel

-- 
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20200430/d5df5a22/attachment.html>


More information about the vlc-devel mailing list