rework CFLAGS/CPPFLAGS settings during configuration

Move define adjustments to CPPFLAGS.
Adjust user CFLAGS directly, do not override during configuration.
USER_CFLAGS is not necessary to build libcompat_noopt correctly.
This commit is contained in:
Brent Cook
2015-03-22 06:18:18 -05:00
parent 809fcf4ea7
commit ad2a38ab4a
8 changed files with 51 additions and 52 deletions

View File

@@ -5,7 +5,6 @@ lib_LTLIBRARIES = libtls.la
EXTRA_DIST = VERSION
libtls_la_LDFLAGS = -version-info @LIBTLS_VERSION@ -no-undefined
libtls_la_CFLAGS = $(CFLAGS) $(USER_CFLAGS)
libtls_la_LIBADD = ../crypto/libcrypto.la ../ssl/libssl.la $(PLATFORM_LDADD)
libtls_la_SOURCES = tls.c