ref: 2cf1742c364f41d69b0d1621448d8a762da7d959
parent: 002a7b949d5719b640d70aa62ed642bffa51b2c8
author: cancel <cancel@cancel.fm>
date: Fri Dec 14 01:05:01 EST 2018
Add -finput-charset=UTF-8 to cc flags
--- a/tool
+++ b/tool
@@ -169,7 +169,7 @@
local libraries=()
local source_files=()
local out_exe
- add cc_flags -std=c99 -pipe -Wall -Wpedantic -Wextra -Wconversion -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion
+ add cc_flags -std=c99 -pipe -finput-charset=UTF-8 -Wall -Wpedantic -Wextra -Wconversion -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion
if [[ $lld_detected = 1 ]]; then
add cc_flags -fuse-ld=lld
fi