Mesa (master): configure: print LDFLAGS alongside CFLAGS & co.
Eric Engeström
eric_engestrom at kemper.freedesktop.org
Wed Apr 26 09:29:25 UTC 2017
Module: Mesa
Branch: master
Commit: 9d1dbf2aa100d26eaafcd96aeebee1d5487bba20
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9d1dbf2aa100d26eaafcd96aeebee1d5487bba20
Author: Eric Engestrom <eric at engestrom.ch>
Date: Tue Apr 25 21:15:55 2017 +0100
configure: print LDFLAGS alongside CFLAGS & co.
Signed-off-by: Eric Engestrom <eric at engestrom.ch>
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
More information about the mesa-commit
mailing list