summaryrefslogtreecommitdiff
path: root/flang/runtime
diff options
context:
space:
mode:
authorpeter klausler <pklausler@nvidia.com>2019-01-19 14:57:04 -0800
committerpeter klausler <pklausler@nvidia.com>2019-01-22 16:31:20 -0800
commitf47c0bdaba6eb711bde75a27093a40af9e36b84d (patch)
tree171ec0dca463db0f4e4aec2d56685cfe92028bd6 /flang/runtime
parentdb5b3fbd89c3b81e22b8d433be3b091faf403a82 (diff)
downloadllvm-f47c0bdaba6eb711bde75a27093a40af9e36b84d.tar.gz
[flang] Add SHARED to add_library() invocations so f18 libraries are always built shared.
Original-commit: flang-compiler/f18@060ced04c74b8796c7621a29da86ee2051d3ccba Reviewed-on: https://github.com/flang-compiler/f18/pull/265 Tree-same-pre-rewrite: false
Diffstat (limited to 'flang/runtime')
-rw-r--r--flang/runtime/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/flang/runtime/CMakeLists.txt b/flang/runtime/CMakeLists.txt
index 0e90f4162ad9..72b6945ccb54 100644
--- a/flang/runtime/CMakeLists.txt
+++ b/flang/runtime/CMakeLists.txt
@@ -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