summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@freedesktop.org>2008-12-03 17:03:13 -0800
committerJeremy Huddleston <jeremyhu@freedesktop.org>2008-12-03 17:03:35 -0800
commitf18880038b46c253d8689c9f6f7b77fca261e702 (patch)
tree52465763efa4f4aced469530f692cf336db56f87
parent264cba6f70eacd9e04646104d10ba63c248d7b83 (diff)
darwin: Use -Os instead of -O2
(cherry picked from commit 456dbb143a0d11b69d8af0d493cd84efb0596273)
-rw-r--r--configs/darwin4
1 files changed, 2 insertions, 2 deletions
diff --git a/configs/darwin b/configs/darwin
index 42897ac0336..77edf1a7b96 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)