The following commit has been merged in the master branch:
commit ab14e3ee832180d10d75e5f45839e51a1fdd1574
Author: Andres Mejia <[email protected]>
Date: Fri Apr 22 18:11:24 2011 -0400
Use compiler flags changes from openal-soft.
diff --git a/debian/patches/compiler-flags-change.patch
b/debian/patches/compiler-flags-change.patch
new file mode 100644
index 0000000..a01800a
--- /dev/null
+++ b/debian/patches/compiler-flags-change.patch
@@ -0,0 +1,34 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -93,6 +93,31 @@
+ SET(STATIC_CFLAGS "${STATIC_CFLAGS} -fPIC")
+ ENDIF(NOT WIN32)
+
++ SET(CMAKE_C_FLAGS_RELWITHDEBINFO "-g -O2 -D_DEBUG" CACHE STRING
++ "Flags used by the compiler during Release with Debug Info builds."
++ FORCE)
++ SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-g -O2 -D_DEBUG" CACHE STRING
++ "Flags used by the compiler during Release with Debug Info builds."
++ FORCE)
++ SET(CMAKE_C_FLAGS_MINSIZEREL "-Os -DNDEBUG" CACHE STRING
++ "Flags used by the compiler during release minsize builds."
++ FORCE)
++ SET(CMAKE_CXX_FLAGS_MINSIZEREL "-Os -DNDEBUG" CACHE STRING
++ "Flags used by the compiler during release minsize builds."
++ FORCE)
++ SET(CMAKE_C_FLAGS_RELEASE "-O3 -fomit-frame-pointer -DNDEBUG" CACHE STRING
++ "Flags used by the compiler during release builds"
++ FORCE)
++ SET(CMAKE_CXX_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
++ "Flags used by the compiler during debug builds."
++ FORCE)
++ SET(CMAKE_CXX_FLAGS_DEBUG "-g3 -D_DEBUG" CACHE STRING
++ "Flags used by the compiler during debug builds."
++ FORCE)
++
+ CHECK_C_COMPILER_FLAG(-Wextra HAVE_WEXTRA)
+ IF(HAVE_WEXTRA)
+ ADD_DEFINITIONS(-Wextra)
diff --git a/debian/patches/series b/debian/patches/series
index 59c901d..bf2783f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
enable-modplug.patch
+compiler-flags-change.patch
--
ALURE packaging
_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits