Skip to content
This repository has been archived by the owner on May 21, 2019. It is now read-only.

Commit

Permalink
Add an /FS flag to the lib/interception CMake to make it buildable wi…
Browse files Browse the repository at this point in the history
…th VS2013 too

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@200482 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
timurrrr committed Jan 30, 2014
1 parent a41ba69 commit e066a68
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion lib/interception/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,15 @@ set(INTERCEPTION_SOURCES

include_directories(..)

set(INTERCEPTION_CFLAGS ${SANITIZER_COMMON_CFLAGS})
if (NOT MSVC)
set(INTERCEPTION_CFLAGS
${SANITIZER_COMMON_CFLAGS})
-fno-rtti)
else()
set(INTERCEPTION_CFLAGS
${SANITIZER_COMMON_CFLAGS}
/GR- /FS)
endif()

if(APPLE)
# Build universal binary on APPLE.
Expand Down

0 comments on commit e066a68

Please sign in to comment.