mirror of
https://github.com/frida/tinycc
synced 2024-12-26 06:56:49 +03:00
allow defining sysroot at compile-time
This commit is contained in:
parent
c71798c376
commit
436c1a734f
2
configure
vendored
2
configure
vendored
@ -353,7 +353,9 @@ echo "mandir=\$(DESTDIR)$mandir" >> config.mak
|
||||
echo "infodir=\$(DESTDIR)$infodir" >> config.mak
|
||||
echo "docdir=\$(DESTDIR)$docdir" >> config.mak
|
||||
|
||||
echo "#ifndef CONFIG_SYSROOT" >> $TMPH
|
||||
echo "#define CONFIG_SYSROOT \"$sysroot\"" >> $TMPH
|
||||
echo "#endif" >> $TMPH
|
||||
echo "#ifndef CONFIG_TCCDIR" >> $TMPH
|
||||
echo "#define CONFIG_TCCDIR \"$tccdir\"" >> $TMPH
|
||||
echo "#endif" >> $TMPH
|
||||
|
Loading…
Reference in New Issue
Block a user