depends: c++17 fixes

This commit is contained in:
tobtoht 2023-07-11 12:06:05 +02:00
parent cf8d93c13d
commit e36534cd19
No known key found for this signature in database
GPG key ID: E45B10DD027D2472
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@ mingw32_CXX := $(host)-g++-posix
endif endif
mingw32_CFLAGS=-pipe mingw32_CFLAGS=-pipe
mingw32_CXXFLAGS=-pipe std=$(CXX_STANDARD) mingw32_CXXFLAGS=-pipe -std=$(CXX_STANDARD)
mingw32_ARFLAGS=cr mingw32_ARFLAGS=cr
mingw32_release_CFLAGS=-O2 mingw32_release_CFLAGS=-O2

View file

@ -111,7 +111,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
SET(PORT OFF) SET(PORT OFF)
SET(CMAKE_OSX_SYSROOT "@prefix@/native/SDK") SET(CMAKE_OSX_SYSROOT "@prefix@/native/SDK")
SET(CMAKE_OSX_DEPLOYMENT_TARGET "11") SET(CMAKE_OSX_DEPLOYMENT_TARGET "11")
SET(CMAKE_CXX_STANDARD 14) SET(CMAKE_CXX_STANDARD 17)
SET(LLVM_ENABLE_PIC OFF) SET(LLVM_ENABLE_PIC OFF)
SET(LLVM_ENABLE_PIE OFF) SET(LLVM_ENABLE_PIE OFF)
elseif(CMAKE_SYSTEM_NAME STREQUAL "Android") elseif(CMAKE_SYSTEM_NAME STREQUAL "Android")