* build-aux/build-mes.sh (HEX2FLAGS): Remove = from flags.
* build.sh (HEX2FLAGS): Likewise.
* module/mescc/mescc.scm (hex2->elf): Likewise.
M1FLAGS=${M1FLAGS-"
--LittleEndian
---Architecture=1
+--Architecture 1
"}
HEX2FLAGS=${HEX2FLAGS-"
--LittleEndian
---Architecture=1
---BaseAddress=0x1000000
+--Architecture 1
+--BaseAddress 0x1000000
"}
if [ -d "$MES_SEED" ]; then
-o lib/x86-mes/libc.o
$M1\
--LittleEndian\
- --Architecture=1\
+ --Architecture 1\
-f lib/x86-mes/x86.M1\
-f $MES_SEED/x86-mes/mes.S\
-o src/mes.o
-o src/mes.S.blood-elf
$M1\
--LittleEndian\
- --Architecture=1\
+ --Architecture 1\
-f src/mes.S.blood-elf\
-o src/mes.o.blood-elf
$HEX2\
"}
M1FLAGS=${M1FLAGS-"
--LittleEndian
---Architecture=1
+--Architecture 1
"}
HEX2FLAGS=${HEX2FLAGS-"
--LittleEndian
---Architecture=1
---BaseAddress=0x1000000
+--Architecture 1
+--BaseAddress 0x1000000
"}
if [ -n "$GUILE" ]; then
(M1 (or (getenv "M1") "M1"))
(command `(,M1
"--LittleEndian"
- "--Architecture=1"
+ "--Architecture" "1"
"-f" ,(arch-find options "x86.M1")
,@(append-map (cut list "-f" <>) M1-files)
"-o" ,hex2-file-name)))
(hex2 (or (getenv "HEX2") "hex2"))
(command `(,hex2
"--LittleEndian"
- "--Architecture=1"
- "--BaseAddress=0x1000000"
+ "--Architecture" "1"
+ "--BaseAddress" "0x1000000"
"-f" ,(arch-find options "elf32-header.hex2")
"-f" ,(arch-find options "crt1.o")
,@(append-map (cut list "-f" <>) hex2-files)