GNUmakefile: fix build for false(1)
This commit is contained in:
parent
324328d2cc
commit
8a8558442e
|
@ -17,6 +17,7 @@
|
|||
PREFIX=/usr/local
|
||||
CC=cc
|
||||
CFLAGS=-O3 -Lbuild/lib
|
||||
RUSTC=rustc
|
||||
|
||||
ifeq ($(CC), gcc)
|
||||
CFLAGS=-O3 -s -Wl,-z,noseparate-code,-z,nosectionheader -flto \
|
||||
|
@ -51,8 +52,8 @@ test: build
|
|||
tests/cc-compat.sh
|
||||
tests/posix-compat.sh
|
||||
|
||||
false: src/false.c build_dir
|
||||
$(CC) $(CFLAGS) -o build/bin/false src/false.c
|
||||
false: src/false.rs build_dir
|
||||
$(RUSTC) -o build/bin/false src/false.rs
|
||||
|
||||
intcmp: src/intcmp.c build_dir
|
||||
$(CC) $(CFLAGS) -o build/bin/intcmp src/intcmp.c
|
||||
|
|
Loading…
Reference in New Issue
Block a user