[nautilus] build: remove optimizations for Flatpak
- From: Carlos Soriano <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] build: remove optimizations for Flatpak
- Date: Fri, 9 Dec 2016 23:02:37 +0000 (UTC)
commit db2f8563dc77e36dd274ecfec26e27e55ff26e4f
Author: Carlos Soriano <csoriano gnome org>
Date: Fri Dec 9 23:45:33 2016 +0100
build: remove optimizations for Flatpak
Better to give a good debug experience, seems -0g is the appropiated
one reading https://gcc.gnu.org/onlinedocs/gcc/Debugging-Options.html
Also, disable deprecation warnings for now, since it makes harder for
contributors to realize the code they did has a real warning.
When we want to port to gtk4 we will turn them on anyway.
org.gnome.Nautilus.json | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/org.gnome.Nautilus.json b/org.gnome.Nautilus.json
index 62c0fb8..9e8a087 100644
--- a/org.gnome.Nautilus.json
+++ b/org.gnome.Nautilus.json
@@ -24,8 +24,8 @@
"--talk-name=ca.desrt.dconf", "--env=DCONF_USER_CONFIG_DIR=.config/dconf"
],
"build-options" : {
- "cflags": "-O2 -g",
- "cxxflags": "-O2 -g"
+ "cflags": "-Wno-deprecated-declarations -Og",
+ "cxxflags": "-Wno-deprecated-declarations -Og"
},
"cleanup": [ "/include", "/share/bash-completion" ],
"modules": [
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]