Simplify config.mk and update README for tcc
This commit is contained in:
parent
6e3023fc27
commit
1e78b0aa16
2
README
2
README
@ -28,5 +28,7 @@ individual tools to ubase-box.
|
||||
Ideally you will want to statically link ubase. We highly recommend
|
||||
using musl-libc[2].
|
||||
|
||||
ubase is known to compile with gcc and tcc.
|
||||
|
||||
[1] http://git.suckless.org/sbase/
|
||||
[2] http://www.musl-libc.org/
|
||||
|
12
config.mk
12
config.mk
@ -8,12 +8,6 @@ MANPREFIX = $(PREFIX)/share/man
|
||||
#CC = gcc
|
||||
#CC = musl-gcc
|
||||
LD = $(CC)
|
||||
CPPFLAGS = -D_BSD_SOURCE -D_GNU_SOURCE
|
||||
CFLAGS = -g -std=c99 -Wall -Wextra $(CPPFLAGS)
|
||||
LDFLAGS = -g -lcrypt
|
||||
|
||||
#CC = tcc
|
||||
#LD = $(CC)
|
||||
#CPPFLAGS = -D_BSD_SOURCE -D_GNU_SOURCE
|
||||
#CFLAGS = -Os -Wall $(CPPFLAGS)
|
||||
#LDFLAGS = -lcrypt
|
||||
CPPFLAGS = -D_GNU_SOURCE
|
||||
CFLAGS = -Os -Wall -Wextra $(CPPFLAGS)
|
||||
LDFLAGS = -lcrypt
|
||||
|
Loading…
Reference in New Issue
Block a user