dont use asm-processor, use iconv for reencoding utf8 to eucjp

This commit is contained in:
Dragorn421
2024-02-19 19:03:05 +01:00
parent 155ad4f59f
commit 1716be6696
3 changed files with 16 additions and 4 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/bin/bash
set -e
srcfile="${@: -1}"
tempfile=`mktemp --tmpdir oot_XXXXXXXX.c`
iconv -f UTF-8 -t EUC-JP -o "$tempfile" "$srcfile"
"${@:1:$# - 1}" -I `dirname $srcfile` $tempfile