diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2021-09-30 16:37:42 +1000 |
---|---|---|
committer | Alexey Kardashevskiy <aik@ozlabs.ru> | 2021-10-01 14:07:36 +1000 |
commit | 0041d1a4604fa24fc3b239757136bbdb6fcf8ec3 (patch) | |
tree | d4cd0dd1f94cff43a9767f5f7b1d38665b5d07e6 | |
parent | dd0dcaa1c1085c159ddab709c7f274b3917be8bd (diff) | |
download | SLOF-0041d1a4604fa24fc3b239757136bbdb6fcf8ec3.zip SLOF-0041d1a4604fa24fc3b239757136bbdb6fcf8ec3.tar.gz SLOF-0041d1a4604fa24fc3b239757136bbdb6fcf8ec3.tar.bz2 |
Revert "make: Define default rule for .c when V=1 or V=2"
This reverts commit 283d88c46c1d4d2ae65f0a3eaf582d0c124d37db as:
- it wrongly assumes the default V=0 (V=1 is the default);
- the new rule broke js2x;
- does not really solve the original problem of printing partial
filenames in gcc error messages.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
-rw-r--r-- | make.rules | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -49,10 +49,6 @@ ifeq ($(V),0) Q := @ MAKEFLAGS += --silent MAKE += -s -else -CURDIR=$(shell pwd) -%.o: %.c - $(CC) $(CPPFLAGS) $(CFLAGS) -o $@ -c $(CURDIR)/$< endif ifeq ($(V),1) @@ -83,3 +79,4 @@ CFLAGS ?= -g -O2 -fno-builtin -ffreestanding -nostdinc -msoft-float \ -fshort-wchar export CC AS LD CLEAN OBJCOPY OBJDUMP STRIP AR RANLIB CFLAGS + |