mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-02 12:08:16 +08:00
fix build scripts
This commit is contained in:
parent
f16eb03edf
commit
209b075a72
@ -71,7 +71,6 @@ COMMON_CCFLAGS=COMMON_CCFLAGS+' -DSDL2 -DHAS_STD_MALLOC -DWITH_SDL -DWITH_FS_RES
|
||||
|
||||
#only for c compiler flags
|
||||
COMMON_CFLAGS=''
|
||||
COMMON_CFLAGS=COMMON_CFLAGS+' -std=gnu99 '
|
||||
|
||||
if LCD == 'SDL_GPU':
|
||||
COMMON_CCFLAGS = COMMON_CCFLAGS + ' -DWITH_NANOVG_GPU -DWITH_VGCANVAS_LCD'
|
||||
@ -129,6 +128,7 @@ if OS_NAME == 'Darwin':
|
||||
elif OS_NAME == 'Linux':
|
||||
OS_FLAGS='-g -Wall'
|
||||
OS_LIBS = ['GL', 'gtk-3','gdk-3','Xext', 'X11', 'sndio','stdc++', 'pthread', 'm', 'dl']
|
||||
COMMON_CFLAGS=COMMON_CFLAGS+' -std=gnu99 '
|
||||
COMMON_CCFLAGS = COMMON_CCFLAGS + ' -DLINUX -DHAS_PTHREAD'
|
||||
COMMON_CCFLAGS = COMMON_CCFLAGS + ' -DSDL_REAL_API -DSDL_TIMER_UNIX -DSDL_VIDEO_DRIVER_X11 -DSDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS '
|
||||
COMMON_CCFLAGS = COMMON_CCFLAGS + ' -DSDL_AUDIO_DRIVER_SNDIO -DSDL_VIDEO_OPENGL_GLX -DSDL_VIDEO_RENDER_OGL '
|
||||
|
Loading…
Reference in New Issue
Block a user