From 0351bb4f27079ee69b5fd9d40b6b31192f7b6b1f Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Sun, 24 Mar 2013 13:27:52 +0000 Subject: [PATCH] [HAL] Link to libgcc, hopefully fixes build for Pierre svn path=/trunk/; revision=58602 --- reactos/hal/halx86/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reactos/hal/halx86/CMakeLists.txt b/reactos/hal/halx86/CMakeLists.txt index c02a53d85df..c4bb719ddde 100644 --- a/reactos/hal/halx86/CMakeLists.txt +++ b/reactos/hal/halx86/CMakeLists.txt @@ -41,6 +41,8 @@ function(add_hal _halname) add_cd_file(TARGET ${_halname} DESTINATION reactos/system32 NO_CAB FOR all) if(MSVC) add_target_link_flags(${_halname} "/ignore:4216 /ignore:4078") + else() + target_link_libraries(${_halname} -lgcc) endif() endfunction()