bug#34925: Overwriting target_LDFLAGS within conditionals

2021-02-22 Thread Karl Berry
Hi - replying to this automake bug report from almost two years ago (sorry) (https://bugs.gnu.org/34925): AM_LDFLAGS = -flto if Z a_LDFLAGS = -O3 endif ... AM_LDFLAGS is always ignored. I agree that in the case above it's surprising for AM_LDFLAGS not to be used. But I wor

bug#34925: Overwriting target_LDFLAGS within conditionals

2019-03-20 Thread Дилян Палаузов
Hello, my reading of the automake manual is that for an AM_CONDITIONAL Z AM_LDFLAGS = -flto if Z a_LDFLAGS = -O3 endif means: if Z is defined, a_LDFLAGS is used and AM_LDFLAGS are not used. if Z is not defined, a_LDFLAGS is absent and AM_LDFLAGS are used. But looking in Makefile.in the code lo