blob: 09b63683b190b0dd9337a6b5fa46e7fbd3cb5773 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- runtime/flang/CMakeLists.txt.orig 2019-10-09 20:28:35 UTC
+++ runtime/flang/CMakeLists.txt
@@ -18,7 +18,7 @@ enable_language(C ASM Fortran) # Enable assembly and F
SET(ASM_OPTIONS "-DLINUX_ELF")
SET(CMAKE_ASM_FLAGS "${CFLAGS} ${ASM_OPTIONS}" )
-SET(CMAKE_SHARED_LINKER_FLAGS "-no-flang-libs")
+SET(CMAKE_SHARED_LINKER_FLAGS "-no-flang-libs -L/usr/lib")
# We are using Fortran driver to build this library with fresh compiler
# components, so point its binary directory to the build directory to pick up
|