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
GL_CFLAGS := -Wall -g -O2 -fno-strict-aliasing
endif
-ifndef CONFIG_WIN32\r
+ifndef CONFIG_WIN32
###########################################################
## Build openGL
# 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) $(CFLAGS)
parse_gl_h: parse_gl_h.c
$(CC) -g -o $@ $<
## opengl library for i386
obj-i386-y += virtio-gl.o helper_opengl.o opengl_exec.o mesa_mipmap.o gloffscreen_common.o gloffscreen_xcomposite.o gloffscreen_wgl.o gloffscreen_test.o
###########################################################
-endif
\ No newline at end of file
+endif