• R
    Harmonize Unix Makefile template with Windows dito · bbd9a50f
    Richard Levitte 提交于
    The variable SHARED_CFLAGS and SHARD_LDFLAGS were used in the Unix
    template because they normally contain options used when building
    "shared".  The Windows template, on the other hand, uses LIB_CFLAGS,
    to express the intended use of those flags rather than their content.
    The Windows template still used SHARED_LDFLAGS, which seems
    inconsistent.
    
    To harmonize the two, any SHARED_CFLAGS gets renamed to LIB_CFLAGS and
    SHARED_LDFLAGS to LIB_LDFLAGS.  That makes the intent consistent along
    with BIN_{C,LD}FLAGS and DSO_{C,LD}FLAGS.
    
    Finally, make sure to pass down $(LIB_CFLAGS) or $(DSO_CFLAGS) along
    with $(CFLAGS) when using Makefile.shared.
    Reviewed-by: NRich Salz <rsalz@openssl.org>
    bbd9a50f
windows-makefile.tmpl 11.5 KB