[CMAKE] Define _GLIBCXX_HAVE_BROKEN_VSWPRINTF to fix build with GLIBCXX and our c++ headers

This commit is contained in:
Timo Kreuzer 2019-04-29 10:02:13 +02:00
parent 58b615f668
commit 4b79367647

View file

@ -177,6 +177,9 @@ endif()
add_definitions(-D_inline=__inline)
# Fix build with GLIBCXX + our c++ headers
add_definitions(-D_GLIBCXX_HAVE_BROKEN_VSWPRINTF)
# Alternative arch name
if(ARCH STREQUAL "amd64")
set(ARCH2 x86_64)