mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-18 17:25:24 +01:00
Build sed 1.18.
This commit is contained in:
parent
90cd17e453
commit
d59f0f3495
3 changed files with 32 additions and 0 deletions
17
sysa/sed.kaem
Executable file
17
sysa/sed.kaem
Executable file
|
|
@ -0,0 +1,17 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -ex
|
||||
|
||||
# Variables
|
||||
bindir=/after/bin
|
||||
|
||||
# Compile
|
||||
tcc -c getopt1.c
|
||||
tcc -c getopt.c
|
||||
tcc -c regex.c
|
||||
tcc -c utils.c
|
||||
tcc -c -Dalloca alloca.c
|
||||
tcc -c -DHAVE_BCOPY sed.c
|
||||
|
||||
# Link
|
||||
tcc -static -o ${bindir}/sed alloca.o getopt1.o getopt.o regex.o sed.o utils.o
|
||||
Loading…
Add table
Add a link
Reference in a new issue