[D] Removed redundant linker options from cmake files

This commit is contained in:
seleznevae 2019-05-24 20:15:39 +03:00
parent 06623efbcf
commit 6b50db82e6
2 changed files with 7 additions and 1 deletions

View File

@ -108,7 +108,7 @@ if("${FORT_COMPILER}" STREQUAL "GNU" OR "${FORT_COMPILER}" STREQUAL "Clang")
endif() endif()
# Hack for some gcc versions # Hack for some gcc versions
if("${FORT_COMPILER}" STREQUAL "GNU") if("${FORT_COMPILER}" STREQUAL "GNU" AND NOT "${FORT_BUILD_TYPE}" STREQUAL "common")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fuse-ld=gold") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fuse-ld=gold")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fuse-ld=gold") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fuse-ld=gold")
endif() endif()

View File

@ -1,3 +1,9 @@
## v0.1.4
### Internal
- Removed redundant build options from cmake files.
## v0.1.3 ## v0.1.3
### Internal ### Internal