Re: [dev] [Bug][sbase] No binaries created when building on OpenBSD 7.3

From: Quentin Rameau <quinq_AT_fifth.space>
Date: Sun, 5 Nov 2023 15:12:21 +0100

Hi Rene,

> Running make on OpenBSD 7.3 does not create binaries.

Indeed.

> This was introduced by
>
> commit 6285c22a07893303bc8719afefe3e878ed6bc887
> Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
> Date: 2023-09-26T20:51:30+02:00
>
> build: Remove unneeded dependency
>
> Make will search in the catalogue of rules for a way to
> update the target, and in case of finding the dependency
> it will apply the rule without a need of specifying that
> dependency.
>
> diff --git a/Makefile b/Makefile
> index fa9b735..0bae170 100644
> --- a/Makefile
> +++ b/Makefile
> _AT_@ -187,7 +187,7 @@ MAN = $(BIN:=.1)
>
> all: $(BIN)
>
> -$(BIN): $(LIB) $(_AT_:=.o)
> +$(BIN): $(LIB)
>
> $(OBJ): $(HDR) config.mk

Which was introduced by f141da6190abb23de31b433ca82d2e290c4f69d8 :>
Received on Sun Nov 05 2023 - 15:12:21 CET

This archive was generated by hypermail 2.3.0 : Sun Nov 05 2023 - 15:24:08 CET