You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2014/01/31 00:25:32 UTC

[08/13] git commit: change compiler flags

change compiler flags


Project: http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/commit/21a78aac
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/tree/21a78aac
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/diff/21a78aac

Branch: refs/heads/master
Commit: 21a78aac11a515d2d79a67fef412a5b2f1566d9f
Parents: 699f0d2
Author: Maxim Ermilov <ma...@canonical.com>
Authored: Sun Jan 19 11:55:15 2014 +0400
Committer: Maxim Ermilov <ma...@canonical.com>
Committed: Sun Jan 19 11:55:15 2014 +0400

----------------------------------------------------------------------
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/blob/21a78aac/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 61053a6..2e9f546 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -20,7 +20,7 @@ configure_file (
   "${PROJECT_BINARY_DIR}/CordovaView.qml"
 )
 
-SET(CMAKE_CXX_FLAGS "-std=c++0x -Wall -Wextra -DCORDOVA_UBUNTU_VERSION=\\\"${VERSION}\\\" -DCORDOVA_UBUNTU_MAJOR_VERSION=${MAJOR_VERSION} -DCORDOVA_UBUNTU_MINOR_VERSION=${MINOR_VERSION} -I ${PROJECT_SOURCE_DIR}/src")
+SET(CMAKE_CXX_FLAGS "-std=c++11 -fno-omit-frame-pointer -O2 -g -Wall -Wextra -DCORDOVA_UBUNTU_VERSION=\\\"${VERSION}\\\" -DCORDOVA_UBUNTU_MAJOR_VERSION=${MAJOR_VERSION} -DCORDOVA_UBUNTU_MINOR_VERSION=${MINOR_VERSION} -I ${PROJECT_SOURCE_DIR}/src")
 
 add_custom_command(OUTPUT ${PROJECT_BINARY_DIR}/qml
   COMMAND mkdir -p ${PROJECT_BINARY_DIR}/qml