[Title] Fix opengl compile optios and add CFLAGS (-g -O2)
authorsyeon.hwang <syeon.hwang@samsung.com>
Sat, 17 Mar 2012 13:59:17 +0000 (22:59 +0900)
committersyeon.hwang <syeon.hwang@samsung.com>
Sat, 17 Mar 2012 13:59:17 +0000 (22:59 +0900)
[Type]
[Module] Emulator/
[Priority]
[CQ#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

tizen/src/Makefile.tizen

index f221cdf..5ca8193 100644 (file)
@@ -9,6 +9,7 @@ QEMU_CFLAGS += -I$(SRC_PATH)/tizen/distrib/ffmpeg/include
 QEMU_CFLAGS += -L$(SRC_PATH)/tizen/distrib/ffmpeg/lib
 QEMU_CFLAGS += $(SDL_CFLAGS)
 QEMU_CFLAGS += $(GLIB_CFLAGS)
+CFLAGS += -g -O2
 
 ifdef CONFIG_WIN32
 LIBS += -lavformat -lavcodec -lavutil -lm
@@ -29,7 +30,7 @@ ifeq ($(TARGET_ARCH), i386)
 
 GL_CUR_PATH = $(SRC_PATH)/tizen/src/hw
 
-GL_CFLAGS += -I$(QEMU_CFLAGS) -I$(GL_CUR_PATH) -I$(SRC_PATH)/fpu -I$(SRC_PATH)/$(TARGET_DIRS)
+GL_CFLAGS += -I$(GL_CUR_PATH) -I$(SRC_PATH)/fpu -I$(SRC_PATH)/$(TARGET_DIRS) $(QEMU_CFLAGS) $(CFLAGS)
 
 parse_gl_h: parse_gl_h.c
        $(CC) -g -o $@ $<