Skip to content

Commit

Permalink
fix build tests on gcc 4.9+
Browse files Browse the repository at this point in the history
  • Loading branch information
hizel authored and Snaipe committed Mar 1, 2017
1 parent ad755b3 commit 4aa9fec
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions check/CMakeLists.txt
@@ -1,5 +1,9 @@
include_directories(../include)

if (NOT MSVC AND "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-trampolines")
endif ()

set(TEST_SOURCES
test/test.c
test/test.h
Expand Down

0 comments on commit 4aa9fec

Please sign in to comment.