mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-02 13:04:42 +01:00
44dd4b5bc3
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
11 lines
553 B
Diff
11 lines
553 B
Diff
-- vobsub2srt/CMakeLists.txt.org 2018-12-29 09:08:18.308882020 +0100
|
|
+++ vobsub2srt/CMakeLists.txt 2018-12-29 09:08:01.435614925 +0100
|
|
@@ -54,7 +54,7 @@
|
|
include(CheckCXXSourceRuns)
|
|
|
|
set(CMAKE_C_FLAGS "-std=gnu99")
|
|
-set(CMAKE_CXX_FLAGS "-ansi -pedantic -Wall -Wextra -Wno-long-long")
|
|
+set(CMAKE_CXX_FLAGS "-ansi -pedantic -Wall -Wextra -Wno-long-long -std=gnu++11")
|
|
|
|
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -mtune=native -march=native -DNDEBUG -fomit-frame-pointer -ffast-math") # TODO -Ofast GCC 4.6
|
|
set(CMAKE_C_FLAGS_RELEASE ${CMAKE_CXX_FLAGS_RELEASE})
|