Skip to content

Commit

Permalink
Change Makefile to accept Big5 when using clang.
Browse files Browse the repository at this point in the history
  • Loading branch information
hungte committed Sep 3, 2015
1 parent 3aa47b1 commit 76afd31
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pttbbs.mk
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ PTT_CFLAGS:= $(PTT_WARN) -pipe -DBBSHOME='"$(BBSHOME)"' -I$(SRCROOT)/include
PTT_CXXFLAGS:= $(PTT_WARN) -pipe -DBBSHOME='"$(BBSHOME)"' -I$(SRCROOT)/include
PTT_LDFLAGS:= -Wl,--as-needed
.if $(CLANG)
PTT_CFLAGS+= -Qunused-arguments -Wno-parentheses-equality -fcolor-diagnostics
PTT_CFLAGS+= -Qunused-arguments -Wno-parentheses-equality \
-fcolor-diagnostics -Wno-invalid-source-encoding
.endif

# enable assert()
Expand Down

0 comments on commit 76afd31

Please sign in to comment.