Home GnuPG

pass through {CFLAGS,CPPFLAGS,LDFLAGS}_FOR_BUILD when creating helper programs

Description

pass through {CFLAGS,CPPFLAGS,LDFLAGS}_FOR_BUILD when creating helper programs

* src/Makefile.am: pass distinct build flags to CC_FOR_BUILD.

We don't want to use the standard CFLAGS, CPPFLAGS, and LDFLAGS for
build helper tools because when cross-compiling they might include
choices that only make sense for the platform we are aiming to build
for.

That said, the environment might offer standard build flags for
non-cross-built helper tools too. So we include those flags in the
right place here.

Debian-Bug: 932213

  • Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>

Details

Provenance
dkgAuthored on Jul 16 2019, 8:01 PM
Parents
rA259a23e0089a: Post release updates
Branches
Unknown
Tags
Unknown
References
dkg-fix-T4641
Tasks
T4641: Libassuan: enable the environment to set compiler and linker flags for helper tools