mirror of
https://github.com/krystalgamer/spidey-decomp.git
synced 2024-11-23 13:29:48 +00:00
Fix clang build
This commit is contained in:
parent
cd9a9373e1
commit
1da7fce0dd
@ -8,7 +8,7 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||
set (CMAKE_CXX_FLAGS "-m32 -w -fpermissive")
|
||||
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
||||
message("Creating for Clang++")
|
||||
set (CMAKE_CXX_FLAGS "-m32 -w -fpermissive -fms-extensions")
|
||||
set (CMAKE_CXX_FLAGS "-m32 -w -fpermissive -fms-extensions -Wno-address-of-temporary")
|
||||
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang")
|
||||
message("Creating for AppleClang++")
|
||||
set (CMAKE_CXX_FLAGS "-arch i386 -m32 -w -fpermissive -fms-extensions")
|
||||
|
Loading…
Reference in New Issue
Block a user