Skip to content

Commit ea5c290

Browse files
committed
makefile: also add __TICE__ define for C and C++.
1 parent c77c31c commit ea5c290

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/makefile.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ endif
251251

252252
# define the c/c++ flags used by clang
253253
EZLLVMFLAGS = -mllvm -profile-guided-section-prefix=false
254-
EZCOMMONFLAGS = -nostdinc -isystem $(call NATIVEPATH,$(CEDEV_TOOLCHAIN)/include) -I$(SRCDIR) -fno-threadsafe-statics -Xclang -fforce-mangle-main-argc-argv $(EZLLVMFLAGS) -D$(DEBUGMODE) $(DEFCUSTOMFILE) $(CCDEBUG)
254+
EZCOMMONFLAGS = -nostdinc -isystem $(call NATIVEPATH,$(CEDEV_TOOLCHAIN)/include) -I$(SRCDIR) -fno-threadsafe-statics -Xclang -fforce-mangle-main-argc-argv $(EZLLVMFLAGS) -D__TICE__ -D$(DEBUGMODE) $(DEFCUSTOMFILE) $(CCDEBUG)
255255
EZCFLAGS = $(EZCOMMONFLAGS) $(CFLAGS)
256256
EZCXXFLAGS = $(EZCOMMONFLAGS) -isystem $(call NATIVEPATH,$(CEDEV_TOOLCHAIN)/include/c++) -fno-exceptions -fno-use-cxa-atexit $(CXXFLAGS)
257257
EZLTOFLAGS = $(EZLLVMFLAGS) $(LTOFLAGS)

0 commit comments

Comments
 (0)