Diff

Differences From Artifact [5ddd33e2a4]:

To Artifact [f5218669e8]:


1
2
3
4

5
6
7
8
9
10
11
12
13
14
15
16
1
2
3

4
5
6





7
8


9



-
+


-
-
-
-
-


-
-

#! /bin/sh

# Set C compiler to diet libc
CC='diet gcc'
CC='x86_64-slackware-linux-musl-gcc'
export CC

cat << \__EOF__ > tcl/patchscripts/dietlibc.sh
sed 's@^# *include *<string.h>$@&@;T s;p;s@string.h@strings.h@;:s' generic/tclInt.h > generic/tclInt.h.new && cat generic/tclInt.h.new > generic/tclInt.h
rm -f generic/tclInt.h.new
__EOF__

./build/make-minkit "$@" --disable-load --disable-threads

rm -f tcl/patchscripts/dietlibc.sh

exit 0