]> Zhao Yanbai Git Server - minix.git/commitdiff
flex build fix - can't build and install separately with two different
authorBen Gras <ben@minix3.org>
Tue, 25 Jul 2006 09:39:13 +0000 (09:39 +0000)
committerBen Gras <ben@minix3.org>
Tue, 25 Jul 2006 09:39:13 +0000 (09:39 +0000)
compilers.

commands/flex-2.5.4/build

index cec4ae822381e4affb5326eecca006cdec6855e9..255e647caf7d8f8937bd78326f9f3ac3828888c1 100755 (executable)
@@ -3,12 +3,14 @@
 CCACHE=config.cache
 rm -f $CCACHE
 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
+mv /usr/lib/$L /usr/lib/i386
 
 if [ -f /usr/gnu/bin/gcc ]
 then   PATH=/usr/gnu/bin:$PATH
        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
 fi