changeset 9253 | 90ea56f4f2f5 |
parent 9227 | c02e081ba481 |
child 9274 | 9749524d1767 |
--- a/cmake_modules/utils.cmake Sun Jun 23 22:31:12 2013 -0400 +++ b/cmake_modules/utils.cmake Mon Jun 24 09:31:14 2013 +0200 @@ -36,7 +36,7 @@ endmacro(add_flag_prepend _VAR_NAME _FLAG) macro(add_linker_flag _FLAG) - list(APPEND haskell_flags "-optl" "${_FLAG}") + list(APPEND haskell_flags "-optl" "-Wl,${_FLAG}") add_flag_append(CMAKE_Pascal_FLAGS "-k${_FLAG}") add_flag_append(CMAKE_EXE_LINKER_FLAGS "-Wl,${_FLAG}") add_flag_append(CMAKE_SHARED_LIBRARY_C_FLAGS "-Wl,${_FLAG}")