<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
On 2018-06-07 3:05 PM, Rémi Denis-Courmont wrote:<br>
<blockquote type="cite"
cite="mid:5C002B16-DF21-4246-9787-72DFBC6639CE@remlab.net">That's
too long name for non-verbose Makefile runs. Having two named for
the same thing feels meh.<br>
</blockquote>
<br>
That name is what everybody else is using along with CPP_FOR_BUILD
and CFLAGS_FOR_BUILD. I kept our custom name not to break any
script/bot (including mine) that are currently using that name.<br>
<br>
<blockquote type="cite"
cite="mid:5C002B16-DF21-4246-9787-72DFBC6639CE@remlab.net"><br>
<div class="gmail_quote">Le 6 juin 2018 12:02:01 GMT+03:00, Steve
Lhomme <a class="moz-txt-link-rfc2396E" href="mailto:robux4@ycbcr.xyz"><robux4@ycbcr.xyz></a> a écrit :
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<pre class="k9mail">This is a variable commonly used with AX_PROG_CC_FOR_BUILD.
If our legacy BUILDCC is set, we use that.
If nothing is set we still look for a c99 compiler.
Internally we still compile with BUILDCC
---
configure.ac | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index 0b2d8903ce..942306427e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -59,10 +59,12 @@ AC_PROG_YACC
AC_ARG_VAR([DESKTOP_FILE_VALIDATE], [Validator for desktop entry files])
AC_CHECK_PROGS(DESKTOP_FILE_VALIDATE, [${DESKTOP_FILE_VALIDATE} desktop-file-validate], :)
-AC_ARG_VAR([BUILDCC], [Build system C11 or C99 compiler command])
-AC_CHECK_PROGS(BUILDCC, [c11-gcc c11 c99-gcc c99], [false])
+AC_ARG_VAR([CC_FOR_BUILD], [Build system C11 or C99 compiler command])
+AC_ARG_VAR([CFLAGS_FOR_BUILD], [Build system compiler CFLAGS])
+AS_IF([test -n "$BUILDCC"],[CC_FOR_BUILD=${BUILDCC}])
+AC_CHECK_PROGS(BUILDCC, [${CC_FOR_BUILD} c11-gcc c11 c99-gcc c99], [false])
AS_IF([test "$BUILDCC" = "false"], [
- AC_MSG_ERROR([Cannot find native C99 compiler: please define BUILDCC.])
+ AC_MSG_ERROR([Cannot find native C99 compiler: please define CC_FOR_BUILD.])
])
dnl Check for compiler properties</pre>
</blockquote>
</div>
<br>
-- <br>
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez
excuser ma brièveté.
<!--'"--><br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
vlc-devel mailing list
To unsubscribe or modify your subscription options:
<a class="moz-txt-link-freetext" href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a></pre>
</blockquote>
<br>
</body>
</html>