part of merge, no logic change, add -g to Makefile and LLOGLN to xup.c
This commit is contained in:
parent
75eba7858c
commit
023995e938
@ -43,7 +43,7 @@ LIBS = $(XSRCBASE)/dbe/.libs/libdbe.a \
|
||||
LLIBS = -Wl,-rpath=$(LIBBASE) -lfreetype -lz -lm -lXfont -lXau \
|
||||
-lXdmcp -lpixman-1 -lrt -ldl -lcrypto -lGL -lXdamage
|
||||
|
||||
CFLAGS = -O2 -Wall -fno-strength-reduce \
|
||||
CFLAGS = -g -O2 -Wall -fno-strength-reduce \
|
||||
-I../../include \
|
||||
-I../../cfb \
|
||||
-I../../mfb \
|
||||
|
@ -20,6 +20,12 @@
|
||||
|
||||
#include "xup.h"
|
||||
|
||||
#define LOG_LEVEL 1
|
||||
#define LLOG(_level, _args) \
|
||||
do { if (_level < LOG_LEVEL) { g_write _args ; } } while (0)
|
||||
#define LLOGLN(_level, _args) \
|
||||
do { if (_level < LOG_LEVEL) { g_writeln _args ; } } while (0)
|
||||
|
||||
/******************************************************************************/
|
||||
/* returns error */
|
||||
int DEFAULT_CC
|
||||
|
Loading…
Reference in New Issue
Block a user