mirror of
https://bitbucket.org/stellabellumswg/src.git
synced 2026-01-17 00:05:21 -05:00
fixups for newer clang and cmake
This commit is contained in:
@@ -90,7 +90,7 @@ elseif (UNIX)
|
||||
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
|
||||
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -Ofast \
|
||||
-fno-signed-zeros -freciprocal-math -ffp-contract=fast \
|
||||
-fno-threadsafe-statics -fslp-vectorize-aggressive -fslp-vectorize \
|
||||
-fno-threadsafe-statics -fslp-vectorize \
|
||||
-fno-stack-protector -fstrict-enums -fstrict-vtable-pointers \
|
||||
-fno-coverage-mapping -fno-spell-checking -fshort-enums -finline-functions \
|
||||
-finline-hint-functions -fno-unroll-loops")
|
||||
|
||||
@@ -3,4 +3,8 @@ cmake_minimum_required(VERSION 2.8)
|
||||
|
||||
project(Miff)
|
||||
|
||||
# todo: if you're running a windows build, comment this out
|
||||
# windows sucks, I don't care
|
||||
set(CMAKE_EXE_LINKER_FLAGS "-Wl,-z,norelro,-O3,--sort-common,--as-needed,--no-relax,-z,combreloc,-z,global,--no-omagic")
|
||||
|
||||
add_subdirectory(src)
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
if(WIN32)
|
||||
set(PLATFORM_SOURCES
|
||||
win32/InputFileHandler.cpp
|
||||
|
||||
Reference in New Issue
Block a user