]> git.cworth.org Git - fips/commitdiff
configure: Fix to have compiler warnings enabled while building libfips
authorCarl Worth <cworth@cworth.org>
Mon, 24 Jun 2013 20:19:41 +0000 (13:19 -0700)
committerCarl Worth <cworth@cworth.org>
Mon, 24 Jun 2013 20:31:49 +0000 (13:31 -0700)
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

index 3a6a597fabdc05a7d2a4e3856297c20ce328917f..d5438d33dc876c691fb05f22e831d793b875bbde 100755 (executable)
--- 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