re-edit
This commit is contained in:
17
stage/toolchain/m4.bash
Normal file
17
stage/toolchain/m4.bash
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
fetch $M4_URL
|
||||
|
||||
cd "$SOURCES" && tar xf m4-$M4_VERSION.tar.xz && cd m4-$M4_VERSION
|
||||
|
||||
sed -r '/_GL_EXTERN_C/s/w?memchr|bsearch/(&)/' -i $(find -name \*.in.h)
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--host=$TARGET \
|
||||
--build=$(build-aux/config.guess) \
|
||||
--silent \
|
||||
--quiet
|
||||
|
||||
make && make DESTDIR="$SYSROOT" install
|
||||
|
||||
cd "$SOURCES" && rm -rf m4-$M4_VERSION
|
||||
Reference in New Issue
Block a user