Enable C++17 (#4623)
This commit is contained in:
committed by
Nikolay Krasko
parent
ee9c2f0e33
commit
a362742a37
+1
-1
@@ -68,7 +68,7 @@ open class CompileToBitcode @Inject constructor(
|
||||
// Used flags provided by original build of allocator C code.
|
||||
listOf("-std=gnu11", "-O3", "-Wall", "-Wextra", "-Werror")
|
||||
Language.CPP ->
|
||||
listOfNotNull("-std=c++14", "-Werror", "-O2",
|
||||
listOfNotNull("-std=c++17", "-Werror", "-O2",
|
||||
"-Wall", "-Wextra",
|
||||
"-Wno-unused-parameter", // False positives with polymorphic functions.
|
||||
"-fPIC".takeIf { !HostManager().targetByName(target).isMINGW })
|
||||
|
||||
Reference in New Issue
Block a user