flex build fix - can't build and install separately with two different
compilers.
This commit is contained in:
parent
ec4223d96a
commit
7573c41657
1 changed files with 4 additions and 2 deletions
|
@ -3,12 +3,14 @@
|
||||||
CCACHE=config.cache
|
CCACHE=config.cache
|
||||||
rm -f $CCACHE
|
rm -f $CCACHE
|
||||||
make distclean
|
make distclean
|
||||||
RANLIB=true AR=ar CONFIG_SHELL=/bin/bigsh CC=cc /bin/bigsh ./configure --prefix=/usr
|
L=libfl.a
|
||||||
|
YACC=/usr/bin/yacc RANLIB=true AR=ar CONFIG_SHELL=/bin/bigsh CC=cc /bin/bigsh ./configure --prefix=/usr
|
||||||
make clean all install
|
make clean all install
|
||||||
|
mv /usr/lib/$L /usr/lib/i386
|
||||||
|
|
||||||
if [ -f /usr/gnu/bin/gcc ]
|
if [ -f /usr/gnu/bin/gcc ]
|
||||||
then PATH=/usr/gnu/bin:$PATH
|
then PATH=/usr/gnu/bin:$PATH
|
||||||
rm -f $CCACHE
|
rm -f $CCACHE
|
||||||
CC=gcc CONFIG_SHELL=/bin/bigsh AR=gar /bin/bigsh ./configure --prefix=/usr/local/gnu
|
YACC=/usr/bin/yacc CC=gcc CONFIG_SHELL=/bin/bigsh AR=gar /bin/bigsh ./configure --prefix=/usr/local/gnu
|
||||||
make clean libfl.a install
|
make clean libfl.a install
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue