Ticket #18132: mesa-7.2-Os.patch

File mesa-7.2-Os.patch, 784 bytes (added by blb@…, 16 years ago)

new mesa-7.2-Os.patch

  • Mesa-7.2/configs/darwin

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