Activate logging for the lib itself (function patching)

This commit is contained in:
Maschell 2017-10-30 19:26:53 +01:00
parent 218a430a4a
commit 7db739c0b1

View File

@ -1,3 +1,5 @@
DO_LOGGING := 1
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
.SUFFIXES: .SUFFIXES:
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
@ -33,6 +35,11 @@ LIB := lib
CFLAGS = -g -Os -Wall -D__wiiu__ -D_GNU_SOURCE $(MACHDEP) $(INCLUDE) CFLAGS = -g -Os -Wall -D__wiiu__ -D_GNU_SOURCE $(MACHDEP) $(INCLUDE)
CXXFLAGS = $(CFLAGS) CXXFLAGS = $(CFLAGS)
ifeq ($(DO_LOGGING), 1)
CFLAGS += -D__LOGGING__
CXXFLAGS += -D__LOGGING__
endif
ASFLAGS := -mregnames ASFLAGS := -mregnames
export WIIUBIN := $(LIB)/libutils.a export WIIUBIN := $(LIB)/libutils.a