From: Carl Worth Date: Fri, 14 Jun 2013 06:29:07 +0000 (-0700) Subject: configure: Fully separate CFLAGS/LDFLAGS between fips and libfips X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=e42d9f224a4ef2784f8fd43f9f4f5c593a7ddd57;hp=e42d9f224a4ef2784f8fd43f9f4f5c593a7ddd57;p=fips configure: Fully separate CFLAGS/LDFLAGS between fips and libfips The top-level program and the underlying library have fundamentally different requirements. For example, the top-level program needs to link against libtalloc and libelf but the library does not. Previously, the necessary flags for both were mixed together in CONFIGURE_CFLAGS and CONFIGURE_LDFLAGS. This caused the library to unnecessarily link against libtalloc and libelf, (which in turn caused problems since the library is compiled as both 32-bit and 64-bit but the system may not provide both 32- and 64-bit versions of these libraries). By splitting things up into separate FIPS_LDFLAGS vs. LIBFIPS_LDFLAGS, etc. we can keep the dependencies down to what is really required and eliminate several sprious failure cases. ---