|
|
|
|
Index: Modules/Compiler/GNU.cmake
|
|
|
|
|
--- Modules/Compiler/GNU.cmake.orig 2015-08-13 16:56:59.000000000 +0200
|
|
|
|
|
+++ Modules/Compiler/GNU.cmake 2015-08-16 15:10:28.353129301 +0200
|
|
|
|
|
@@ -48,7 +48,7 @@
|
|
|
|
|
set(CMAKE_${lang}_FLAGS_INIT "")
|
|
|
|
|
set(CMAKE_${lang}_FLAGS_DEBUG_INIT "-g")
|
|
|
|
|
set(CMAKE_${lang}_FLAGS_MINSIZEREL_INIT "-Os -DNDEBUG")
|
|
|
|
|
- set(CMAKE_${lang}_FLAGS_RELEASE_INIT "-O3 -DNDEBUG")
|
|
|
|
|
+ set(CMAKE_${lang}_FLAGS_RELEASE_INIT "-O2 -DNDEBUG")
|
|
|
|
|
set(CMAKE_${lang}_FLAGS_RELWITHDEBINFO_INIT "-O2 -g -DNDEBUG")
|
|
|
|
|
set(CMAKE_${lang}_CREATE_PREPROCESSED_SOURCE "<CMAKE_${lang}_COMPILER> <DEFINES> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>")
|
|
|
|
|
set(CMAKE_${lang}_CREATE_ASSEMBLY_SOURCE "<CMAKE_${lang}_COMPILER> <DEFINES> <FLAGS> -S <SOURCE> -o <ASSEMBLY_SOURCE>")
|
|
|
|
|
Index: Source/cmGlobalNinjaGenerator.cxx
|
|
|
|
|
--- Source/cmGlobalNinjaGenerator.cxx.orig 2015-08-13 16:57:00.000000000 +0200
|
|
|
|
|
+++ Source/cmGlobalNinjaGenerator.cxx 2015-08-16 15:09:28.504092831 +0200
|
|
|
|
|
@@ -10,6 +10,12 @@
|
|
|
|
|
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
|
See the License for more information.
|
|
|
|
|
============================================================================*/
|
|
|
|
|
+
|
|
|
|
|
+#include <stdio.h>
|
|
|
|
|
+#include <stdlib.h>
|
|
|
|
|
+#include <sys/types.h>
|
|
|
|
|
+#include <sys/stat.h>
|
|
|
|
|
+
|
|
|
|
|
#include "cmGeneratedFileStream.h"
|
|
|
|
|
#include "cmGeneratorExpressionEvaluationFile.h"
|
|
|
|
|
#include "cmGeneratorTarget.h"
|
|
|
|
|
Index: Source/kwsys/Encoding.h.in
|
|
|
|
|
--- Source/kwsys/Encoding.h.in.orig 2015-08-13 16:57:00.000000000 +0200
|
|
|
|
|
+++ Source/kwsys/Encoding.h.in 2015-08-16 15:09:28.504092831 +0200
|
|
|
|
|
@@ -13,6 +13,7 @@
|
|
|
|
|
#define @KWSYS_NAMESPACE@_Encoding_h
|
|
|
|
|
|
|
|
|
|
#include <@KWSYS_NAMESPACE@/Configure.h>
|
|
|
|
|
+#include <stdlib.h>
|
|
|
|
|
#include <wchar.h>
|
|
|
|
|
|
|
|
|
|
/* Redefine all public interface symbol names to be in the proper
|