libvidstab: remove -O3

This commit is contained in:
Đoàn Trần Công Danh 2021-03-27 13:55:41 +07:00
parent 44eb48ca16
commit d56662ea7c
1 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,39 @@
Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -25,7 +25,7 @@ else()
set(LIBSUFFIX "")
endif()
-add_definitions( -Wall -O3 -g -Wno-pointer-sign -fPIC -std=gnu99)
+add_definitions( -Wall -Wno-pointer-sign -fPIC -std=gnu99)
# add_definitions( -Wall -O0 -g -Wno-pointer-sign )
### ORC is not used in any active code at the moment ###
Index: tests/CMakeLists.txt
===================================================================
--- tests/CMakeLists.txt.orig
+++ tests/CMakeLists.txt
@@ -11,7 +11,7 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PAT
option(USE_OMP "use parallelization use OMP" ON)
#add_definitions( -Wall -O3 -Wno-pointer-sign -DTESTING -std=gnu99)
-add_definitions( -Wall -O0 -g -Wno-pointer-sign -DTESTING -std=gnu99)
+add_definitions( -Wall -Wno-pointer-sign -DTESTING -std=gnu99)
find_package(Orc)
if(ORC_FOUND)
add_definitions( -DUSE_ORC ${ORC_DEFINITIONS})
Index: transcode/CMakeLists.txt
===================================================================
--- transcode/CMakeLists.txt.orig
+++ transcode/CMakeLists.txt
@@ -9,7 +9,7 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PAT
set(TRANSCODE_ROOT ../../transcode)
-add_definitions( -Wall -O3 -Wno-pointer-sign -DTRANSCODE -std=gnu99)
+add_definitions( -Wall -Wno-pointer-sign -DTRANSCODE -std=gnu99)
#add_definitions( -Wall -O0 -g -Wno-pointer-sign )
# I tried it with 0.4.14
# 0.4.10 did not work (not all opcode implemented)