repo/core/flex/build

15 lines
238 B
Plaintext
Raw Normal View History

2019-05-18 10:06:11 -06:00
#!/bin/sh -e
./configure \
--prefix=/usr \
ac_cv_func_malloc_0_nonnull=yes \
ac_cv_func_realloc_0_nonnull=yes
make
make DESTDIR="$1" install
2020-05-29 04:45:19 -06:00
ln -s flex "$1/usr/bin/lex"
2021-07-06 05:25:18 -06:00
# Remove READMEs and such.
rm -rf "$1/usr/share/doc"