allow defining sysroot at compile-time

master
Joe Soroka 2011-07-11 00:20:48 -07:00
parent c71798c376
commit 436c1a734f
1 changed files with 2 additions and 0 deletions

2
configure vendored
View File

@ -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