mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-16 00:05:24 +01:00
Do not use pre-generated getdate.c
This commit is contained in:
parent
e655cb97f5
commit
fe26bc4c8c
9 changed files with 46 additions and 11 deletions
|
|
@ -9,7 +9,16 @@ src_prepare() {
|
|||
cp lib/fcntl_.h lib/fcntl.h
|
||||
sed -i 's#@ABSOLUTE_FCNTL_H@#"/after/include/musl/fcntl.h"#' lib/fcntl.h
|
||||
|
||||
touch config.h lib/configmake.h
|
||||
# Rebuild bison pre-generated file
|
||||
rm lib/getdate.c
|
||||
cd lib
|
||||
bison --update getdate.y
|
||||
bison getdate.y
|
||||
mv getdate.tab.c getdate.c
|
||||
cd ..
|
||||
|
||||
catm config.h
|
||||
catm lib/configmake.h
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue