X-Git-Url: https://git.cworth.org/git?p=fips;a=blobdiff_plain;f=configure;h=3a6a597fabdc05a7d2a4e3856297c20ce328917f;hp=c584c93a349ad7023f58f4112bc942d4d734c6f8;hb=e42d9f224a4ef2784f8fd43f9f4f5c593a7ddd57;hpb=4ed3210133fb9f990c3d34fd04619867656c74e3 diff --git a/configure b/configure index c584c93..3a6a597 100755 --- 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