40 lines
1.5 KiB
Diff
40 lines
1.5 KiB
Diff
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)
|