allow defining sysroot at compile-time
This commit is contained in:
parent
c71798c376
commit
436c1a734f
1 changed files with 2 additions and 0 deletions
2
configure
vendored
2
configure
vendored
|
|
@ -353,7 +353,9 @@ echo "mandir=\$(DESTDIR)$mandir" >> config.mak
|
||||||
echo "infodir=\$(DESTDIR)$infodir" >> config.mak
|
echo "infodir=\$(DESTDIR)$infodir" >> config.mak
|
||||||
echo "docdir=\$(DESTDIR)$docdir" >> config.mak
|
echo "docdir=\$(DESTDIR)$docdir" >> config.mak
|
||||||
|
|
||||||
|
echo "#ifndef CONFIG_SYSROOT" >> $TMPH
|
||||||
echo "#define CONFIG_SYSROOT \"$sysroot\"" >> $TMPH
|
echo "#define CONFIG_SYSROOT \"$sysroot\"" >> $TMPH
|
||||||
|
echo "#endif" >> $TMPH
|
||||||
echo "#ifndef CONFIG_TCCDIR" >> $TMPH
|
echo "#ifndef CONFIG_TCCDIR" >> $TMPH
|
||||||
echo "#define CONFIG_TCCDIR \"$tccdir\"" >> $TMPH
|
echo "#define CONFIG_TCCDIR \"$tccdir\"" >> $TMPH
|
||||||
echo "#endif" >> $TMPH
|
echo "#endif" >> $TMPH
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue