[Mesa-dev] [PATCH mesa] configure: print LDFLAGS alongside CFLAGS & co.

Nicolai Hähnle nhaehnle at gmail.com
Wed Apr 26 08:10:17 UTC 2017


On 25.04.2017 22:15, Eric Engestrom wrote:
> Signed-off-by: Eric Engestrom <eric at engestrom.ch>

Makes sense.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>


> ---
>  configure.ac | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/configure.ac b/configure.ac
> index e42fcfff77..ba042791ad 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -2920,15 +2920,17 @@ echo "        Static libs:     $enable_static"
>  echo "        Shared-glapi:    $enable_shared_glapi"
>
>  dnl Compiler options
> -# cleanup the CFLAGS/CXXFLAGS/DEFINES vars
> +# cleanup the CFLAGS/CXXFLAGS/LDFLAGS/DEFINES vars
>  cflags=`echo $CFLAGS | \
>      $SED 's/^ *//;s/  */ /;s/ *$//'`
>  cxxflags=`echo $CXXFLAGS | \
>      $SED 's/^ *//;s/  */ /;s/ *$//'`
> +ldflags=`echo $LDFLAGS | $SED 's/^ *//;s/  */ /;s/ *$//'`
>  defines=`echo $DEFINES | $SED 's/^ *//;s/  */ /;s/ *$//'`
>  echo ""
>  echo "        CFLAGS:          $cflags"
>  echo "        CXXFLAGS:        $cxxflags"
> +echo "        LDFLAGS:         $ldflags"
>  echo "        Macros:          $defines"
>  echo ""
>  if test "x$enable_llvm" = xyes; then
>


-- 
Lerne, wie die Welt wirklich ist,
Aber vergiss niemals, wie sie sein sollte.


More information about the mesa-dev mailing list