[Mesa-dev] [PATCH 3/3] configure.ac: Don't duplicate CFLAGS
Matt Turner
mattst88 at gmail.com
Wed Aug 1 08:54:31 PDT 2012
These assignments caused CFLAGS specified on the configure like to
appear twice in the final CFLAGS. Removing them makes the behavior
reasonable -- USER_CFLAGS are appended at the end of CFLAGS, allowing
the builder to override flags added by configure.ac like
-fno-strict-aliasing.
---
configure.ac | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/configure.ac b/configure.ac
index 975c215..415ec40 100644
--- a/configure.ac
+++ b/configure.ac
@@ -26,10 +26,6 @@ m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
LT_PREREQ([2.2])
LT_INIT([disable-static])
-dnl Save user CFLAGS and CXXFLAGS so one can override the default ones
-USER_CFLAGS="$CFLAGS"
-USER_CXXFLAGS="$CXXFLAGS"
-
dnl Versions for external dependencies
LIBDRM_REQUIRED=2.4.24
LIBDRM_RADEON_REQUIRED=2.4.31
--
1.7.8.6
More information about the mesa-dev
mailing list