From 11ff18fcf5b92cee4a8e69425fc321f0ef272ecf Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 26 Jul 2012 09:35:36 -0700 Subject: automake: Remove OPT_FLAGS. If you want to change your compiler arguments, just set CFLAGS/CXXFLAGS. Having Mesa have this separate variable is a great way to have your arguments not thoroughly propagated to all compiler invocations. Reviewed-by: Ian Romanick Reviewed-by: Matt Turner Reviewed-by: Kenneth Graunke --- configs/current.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'configs') diff --git a/configs/current.in b/configs/current.in index 1840632e7ea..c4f3f4df9b3 100644 --- a/configs/current.in +++ b/configs/current.in @@ -9,15 +9,14 @@ CONFIG_NAME = autoconf # Compiler and flags CC = @CC@ CXX = @CXX@ -OPT_FLAGS = @OPT_FLAGS@ PIC_FLAGS = @PIC_FLAGS@ DEFINES = @DEFINES@ API_DEFINES = @API_DEFINES@ SHARED_GLAPI = @SHARED_GLAPI@ CFLAGS_NOVISIBILITY = @CPPFLAGS@ @CFLAGS@ \ - $(OPT_FLAGS) $(PIC_FLAGS) $(DEFINES) + $(PIC_FLAGS) $(DEFINES) CXXFLAGS_NOVISIBILITY = @CPPFLAGS@ @CXXFLAGS@ \ - $(OPT_FLAGS) $(PIC_FLAGS) $(DEFINES) + $(PIC_FLAGS) $(DEFINES) CFLAGS = $(CFLAGS_NOVISIBILITY) @VISIBILITY_CFLAGS@ CXXFLAGS = $(CXXFLAGS_NOVISIBILITY) @VISIBILITY_CXXFLAGS@ LDFLAGS = @LDFLAGS@ -- cgit v1.2.3