darwin: Use -Os instead of -O2
authorJeremy Huddleston <jeremyhu@freedesktop.org>
Thu, 4 Dec 2008 01:03:13 +0000 (17:03 -0800)
committerJeremy Huddleston <jeremyhu@freedesktop.org>
Thu, 4 Dec 2008 01:03:35 +0000 (17:03 -0800)
(cherry picked from commit 456dbb143a0d11b69d8af0d493cd84efb0596273)

configs/darwin

index 42897ac033610b65307e7760ae0989336814cfee..77edf1a7b9637a7296c107175b37682286e9484a 100644 (file)
@@ -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)