Skip to content

Commit

Permalink
Make it easier to pass options to tinycc configure (#66)
Browse files Browse the repository at this point in the history
This adds the `${extra_tinycc_config}` variable to the `configure`
command line so that it's possible to do something like:

    make linux-x86 extra_tinycc_config=--config-backtrace=no

Part of #62
  • Loading branch information
larsks authored Dec 6, 2024
1 parent b3763c8 commit aac181f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/deps.mk
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ src/embed-headers.c:
sed -i 's/unsigned int/const unsigned int/' src/embed-headers.c

lib/tinycc/libtcc.a lib/tinycc/libtcc1.a:
cd lib/tinycc && ./configure ${tinycc_config}
cd lib/tinycc && ./configure ${tinycc_config} ${extra_tinycc_config}
${MAKE} -C lib/tinycc libtcc.a
${MAKE} -C lib/tinycc libtcc1.a

Expand Down

0 comments on commit aac181f

Please sign in to comment.