Skip to content

Commit 6ac01e3

Browse files
committed
FIX: not using flattened source code
1 parent 435e298 commit 6ac01e3

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

make/tools/make-boot.reb

+3-2
Original file line numberDiff line numberDiff line change
@@ -929,7 +929,7 @@ foreach section [boot-base boot-sys boot-mezz] [
929929
Needs: (select hdr 'needs)
930930
]
931931
]
932-
mold/only/flat code
932+
mold/only code
933933
)
934934
]
935935
][
@@ -954,6 +954,7 @@ foreach section [boot-base boot-sys boot-mezz] [
954954
boot-protocols: make block! 20
955955
foreach file first mezz-files [
956956
code: load-file/header file
957+
? code
957958
hdr: to block! take code
958959
either all [
959960
;- if protocol exports some function, import must be used so
@@ -979,7 +980,7 @@ foreach file first mezz-files [
979980
Needs: (select hdr 'needs)
980981
]
981982
]
982-
mold/only/flat code
983+
mold/only code
983984
)
984985
]
985986
][

make/tools/make-host-ext.reb

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ emit-file: func [
139139
]
140140

141141
emit "#ifdef INCLUDE_EXT_DATA^/"
142-
data: append trim/head mold/only/flat source newline
142+
data: append trim/head mold/only source newline
143143
append data to-char 0 ; null terminator may be required
144144
emit ["const unsigned char RX_" name "[] = {^/" to-cstr data "^/};^/^/"]
145145
emit "#endif^/"

make/tools/make-host-init.reb

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ write-c-file: func [
4646
;print "writing C code..."
4747
emit-head "Host custom init code" c-file
4848

49-
data: mold/flat/only/all code
49+
data: mold/only/all code
5050

5151
append data newline ; BUG? why does MOLD not provide it?
5252

0 commit comments

Comments
 (0)