Skip to content

Commit bdcf013

Browse files
committed
Update docs for updating config_*.h files
1 parent 89f97fd commit bdcf013

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

doc/contributor/updating-ruby.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,13 @@ You'll usually get some conflicts to work out.
4444

4545
Configuration files must be regenerated from ruby for Linux and macOS
4646
and copied into `lib/cext/include/truffleruby`. In the MRI repository
47-
do the folowing
47+
do the following:
4848

4949
```
50+
graalvm_clang=$(jt ruby -e 'puts RbConfig::CONFIG["CC"]')
51+
5052
autoconf
51-
CC=clang ./configure
53+
CC=$graalvm_clang ./configure
5254
```
5355

5456
The output of configure should report that it has created or updated a

0 commit comments

Comments
 (0)