diff options
| author | Joe Soroka <gits@joesoroka.com> | 2011-07-11 00:20:48 -0700 |
|---|---|---|
| committer | Joe Soroka <gits@joesoroka.com> | 2011-07-11 00:20:48 -0700 |
| commit | 436c1a734ff8cc1e454e2fe1d88dd891af909991 (patch) | |
| tree | ed116dd5f2992287f62f4bc4708bca7394687315 | |
| parent | c71798c37690d73c91e7b345b0dd8e2a7738006e (diff) | |
| download | tinycc-436c1a734ff8cc1e454e2fe1d88dd891af909991.tar.gz tinycc-436c1a734ff8cc1e454e2fe1d88dd891af909991.tar.bz2 | |
allow defining sysroot at compile-time
| -rwxr-xr-x | configure | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |
