diff options
author | Richard Levitte <levitte@openssl.org> | 2018-09-10 02:28:39 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2018-09-12 01:59:46 +0200 |
commit | 9dfc868025721873952f7765e59ae9fee45a276a (patch) | |
tree | eb76c8f7c53654a24ff8380753470a85fda7e5ff /Configurations/unix-Makefile.tmpl | |
parent | bec2db1809df52f6e6548e7e883cdc7fec79964a (diff) |
Build files: Separate 'lib' intent from 'shlib' intent
This is in preparation for having separate CFLAGS variables for static
and for shared library builds.
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7159)
Diffstat (limited to 'Configurations/unix-Makefile.tmpl')
-rw-r--r-- | Configurations/unix-Makefile.tmpl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl index 16af4d2087..bb6755b425 100644 --- a/Configurations/unix-Makefile.tmpl +++ b/Configurations/unix-Makefile.tmpl @@ -984,6 +984,7 @@ EOF } my $cppflags = { + shlib => '$(LIB_CFLAGS) $(LIB_CPPFLAGS)', lib => '$(LIB_CFLAGS) $(LIB_CPPFLAGS)', dso => '$(DSO_CFLAGS) $(DSO_CPPFLAGS)', bin => '$(BIN_CFLAGS) $(BIN_CPPFLAGS)' @@ -1023,6 +1024,7 @@ EOF $cmd = '$(CXX)'; $cmdcompile = ' -c'; $cmdflags = { + shlib => '$(LIB_CXXFLAGS) $(LIB_CPPFLAGS)', lib => '$(LIB_CXXFLAGS) $(LIB_CPPFLAGS)', dso => '$(DSO_CXXFLAGS) $(DSO_CPPFLAGS)', bin => '$(BIN_CXXFLAGS) $(BIN_CPPFLAGS)' @@ -1031,6 +1033,7 @@ EOF $cmd = '$(CC)'; $cmdcompile = ' -c'; $cmdflags = { + shlib => '$(LIB_CFLAGS) $(LIB_CPPFLAGS)', lib => '$(LIB_CFLAGS) $(LIB_CPPFLAGS)', dso => '$(DSO_CFLAGS) $(DSO_CPPFLAGS)', bin => '$(BIN_CFLAGS) $(BIN_CPPFLAGS)' |