[flang] Add SHARED to add_library() invocations so f18 libraries are always built shared.

Original-commit: flang-compiler/f18@060ced04c7
Reviewed-on: https://github.com/flang-compiler/f18/pull/265
Tree-same-pre-rewrite: false
This commit is contained in:
peter klausler 2019-01-19 14:57:04 -08:00
parent db5b3fbd89
commit f47c0bdaba
5 changed files with 7 additions and 8 deletions

View File

@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
add_library(FortranCommon
add_library(FortranCommon SHARED
default-kinds.cc
idioms.cc
)

View File

@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
add_library(FortranEvaluate
add_library(FortranEvaluate SHARED
call.cc
common.cc
complex.cc

View File

@ -1,4 +1,4 @@
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
# Copyright (c) 2018-2019, NVIDIA CORPORATION. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
add_library(FortranParser
add_library(FortranParser SHARED
char-buffer.cc
char-set.cc
characters.cc

View File

@ -12,8 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
add_library(FortranSemantics
add_library(FortranSemantics SHARED
assignment.cc
attr.cc
canonicalize-do.cc

View File

@ -1,4 +1,4 @@
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
# Copyright (c) 2018-2019, NVIDIA CORPORATION. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
add_library(FortranRuntime
add_library(FortranRuntime SHARED
ISO_Fortran_binding.cc
derived-type.cc
descriptor.cc