The following commit has been merged in the master branch:
commit 6e070547cda621ae4beb9fb5f0eb439738c15bd4
Author: Andres Mejia <[email protected]>
Date: Fri Apr 22 16:47:44 2011 -0400
Use -O3 instead of -O2 compiler optimizations.
diff --git a/debian/patches/compiler-flags-change.patch
b/debian/patches/compiler-flags-change.patch
new file mode 100644
index 0000000..9151c0b
--- /dev/null
+++ b/debian/patches/compiler-flags-change.patch
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -127,7 +127,7 @@
+ SET(CMAKE_C_FLAGS_MINSIZEREL "-Os -DNDEBUG" CACHE STRING
+ "Flags used by the compiler during release minsize builds."
+ FORCE)
+- SET(CMAKE_C_FLAGS_RELEASE "-O2 -fomit-frame-pointer -DNDEBUG" CACHE STRING
++ SET(CMAKE_C_FLAGS_RELEASE "-O3 -fomit-frame-pointer -DNDEBUG" CACHE STRING
+ "Flags used by the compiler during release builds"
+ FORCE)
+ SET(CMAKE_C_FLAGS_DEBUG "-g3 -D_DEBUG" CACHE STRING
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..971f34a
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+compiler-flags-change.patch
diff --git a/debian/source/local-options b/debian/source/local-options
new file mode 100644
index 0000000..4aceb10
--- /dev/null
+++ b/debian/source/local-options
@@ -0,0 +1 @@
+unapply-patches
--
Packaging for openal-soft
_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits