cleanup rc build

This commit is contained in:
Giacomo Tesio 2021-12-23 00:13:52 +01:00
parent c43269a19e
commit 1d47bf91a6
1 changed files with 5 additions and 4 deletions

View File

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
mkdir -p $JEHANNE/hacking/bin/ mkdir -p $JEHANNE/hacking/bin/
TARGET=rc #$JEHANNE/hacking/bin/rc TARGET=$JEHANNE/hacking/bin/rc
git clean -xdf . git clean -xdf .
@ -70,11 +70,12 @@ gcc -pie -o $TARGET \
y.tab.o \ y.tab.o \
plan9ish.o \ plan9ish.o \
havefork.o \ havefork.o \
-L$JEHANNE/hacking/lib -lutil -lresolv -lpthread -l9 -lm \ -L$JEHANNE/hacking/lib \
-lutil \ -lutil \
-lresolv \ -lresolv \
-lpthread \ -lpthread \
-lc -l9 \
-lm
#git clean -xdf . git clean -xdf .