diff options
author | Carlos Soriano <csoriano@gnome.org> | 2016-12-09 23:45:33 +0100 |
---|---|---|
committer | Carlos Soriano <csoriano@gnome.org> | 2016-12-10 00:01:54 +0100 |
commit | db2f8563dc77e36dd274ecfec26e27e55ff26e4f (patch) | |
tree | e43145bfc708017b937e94b05fa16f80585f3a5c | |
parent | 63b48b37d2fb69e30ae3a1ae9c9c67247ba502fd (diff) | |
download | nautilus-db2f8563dc77e36dd274ecfec26e27e55ff26e4f.tar.gz |
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.
-rw-r--r-- | 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 62c0fb841..9e8a08772 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": [ |