poke-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 3/5] Allow Poke to be built relocatable


From: Bruno Haible
Subject: Re: [PATCH 3/5] Allow Poke to be built relocatable
Date: Sat, 27 Mar 2021 13:25:06 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-203-generic; KDE/5.18.0; x86_64; ; )

This part

if RELOCATABLE_VIA_LD
poke_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(bindir)`
else
poke_LDFLAGS =
endif

is more maintainable if written as

poke_LDFLAGS =
if RELOCATABLE_VIA_LD
poke_LDFLAGS += `$(RELOCATABLE_LDFLAGS) $(bindir)`
endif

Namely, if you have more than one conditional contribution to an Automake
variable, use '+=' to avoid combinatorial explosion.

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]