]> git.cworth.org Git - fips/blobdiff - configure
configure: Fully separate CFLAGS/LDFLAGS between fips and libfips
[fips] / configure
index c584c93a349ad7023f58f4112bc942d4d734c6f8..3a6a597fabdc05a7d2a4e3856297c20ce328917f 100755 (executable)
--- a/configure
+++ b/configure
@@ -538,9 +538,13 @@ EGL_CFLAGS = ${egl_cflags}
 # Flags needed to have linker link only to necessary libraries
 AS_NEEDED_LDFLAGS = ${as_needed_ldflags}
 
-# Combined flags for compiling and linking against all of the above
-CONFIGURE_CFLAGS = \$(TALLOC_CFLAGS) \$(LIBELF_CFLAGS) \$(GL_CFLAGS) \$(EGL_CFLAGS)
-CONFIGURE_LDFLAGS = \$(TALLOC_LDFLAGS) \$(LIBELF_LDFLAGS)
+# Flags needed to compile the fips binary
+FIPS_CFLAGS = \$(WARN_CFLAGS) \$(TALLOC_CFLAGS) \$(LIBELF_CFLAGS)
+FIPS_LDFLAGS = \$(WARN_CFLAGS) \$(TALLOC_LDFLAGS) \$(LIBELF_LDFLAGS)
+
+# Flags needed to compile the libfips libraries
+LIBFIPS_CFLAGS = \$(GL_CFLAGS) \$(EGL_CFLAGS)
+LIBFIPS_LDFLAGS =
 EOF
 
 # construct config.h