2021-07-09 20:28:46 +00:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
2022-08-23 20:40:30 +00:00
|
|
|
CFLAGS="$CFLAGS -static"
|
|
|
|
LDFLAGS="$LDFLAGS -static -fPIC -fno-lto -fno-use-linker-plugin -static"
|
|
|
|
|
2022-02-17 13:33:27 +00:00
|
|
|
# Parallel builds seem to break bison
|
|
|
|
MAKEFLAGS=-j1
|
|
|
|
|
2021-07-09 20:28:46 +00:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--disable-nls \
|
|
|
|
--without-libtextstyle-prefix
|
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR="$1" install
|