From a9a3c0277f608fcfc7c92a93796db001d36914d4 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Mon, 24 Jun 2013 13:19:41 -0700 Subject: [PATCH] configure: Fix to have compiler warnings enabled while building libfips In commit e42d9f224a4ef2784f8fd43f9f4f5c593a7ddd57 , when the flags were split between fips and libfips, the warnings flags were mistakenly applied to both CFLAGS and LDFLAGS of fips. (What was actually intended was to have the warnings applied to the CFLAGS of both fips and libfips). --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 3a6a597..d5438d3 100755 --- a/configure +++ b/configure @@ -540,10 +540,10 @@ AS_NEEDED_LDFLAGS = ${as_needed_ldflags} # Flags needed to compile the fips binary FIPS_CFLAGS = \$(WARN_CFLAGS) \$(TALLOC_CFLAGS) \$(LIBELF_CFLAGS) -FIPS_LDFLAGS = \$(WARN_CFLAGS) \$(TALLOC_LDFLAGS) \$(LIBELF_LDFLAGS) +FIPS_LDFLAGS = \$(TALLOC_LDFLAGS) \$(LIBELF_LDFLAGS) # Flags needed to compile the libfips libraries -LIBFIPS_CFLAGS = \$(GL_CFLAGS) \$(EGL_CFLAGS) +LIBFIPS_CFLAGS = \$(WARN_CFLAGS) \$(GL_CFLAGS) \$(EGL_CFLAGS) LIBFIPS_LDFLAGS = EOF -- 2.43.0