Mesa (mesa_7_2_branch): darwin: Use -Os instead of -O2

Jeremy Huddleston jeremyhu at kemper.freedesktop.org
Thu Dec 4 01:03:27 UTC 2008


Module: Mesa
Branch: mesa_7_2_branch
Commit: 456dbb143a0d11b69d8af0d493cd84efb0596273
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=456dbb143a0d11b69d8af0d493cd84efb0596273

Author: Jeremy Huddleston <jeremyhu at freedesktop.org>
Date:   Wed Dec  3 17:03:13 2008 -0800

darwin: Use -Os instead of -O2

---

 configs/darwin |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configs/darwin b/configs/darwin
index 42897ac..77edf1a 100644
--- a/configs/darwin
+++ b/configs/darwin
@@ -20,9 +20,9 @@ DEFINES =  -D_DARWIN_C_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L \
 
 ARCH_FLAGS += $(RC_CFLAGS)
 
-CFLAGS =  -g -O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing \
+CFLAGS =  -ggdb3 -Os -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing \
 	-I$(INSTALL_DIR)/include $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(ASM_FLAGS) $(DEFINES)
-CXXFLAGS =  -g -O2 -Wall -fno-strict-aliasing \
+CXXFLAGS =  -ggdb3 -Os -Wall -fno-strict-aliasing \
 	-I$(INSTALL_DIR)/include $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(ASM_FLAGS) $(DEFINES)
 
 # Library names (actual file names)




More information about the mesa-commit mailing list