tce-load -i intltool gtk3-dev evolution-data-server-dev gsettings-desktop-schemas-dev cd gnome-calendar-3.22.0 CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --disable-static --localstatedir=/var find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make sudo make install gnome-calendar 3.22.0 ================== source at: . prefix: /usr/local compiler: gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe flags: -g -O2 flags: -fno-strict-aliasing -Wall -Wextra -Wundef -Wnested-externs -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wdeclaration-after-statement -Wformat=2 -Wold-style-definition -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wimplicit-function-declaration -Wreturn-type -Wswitch-enum -Wswitch-default -Wno-error=unused-parameter -Wno-error=missing-field-initializers -Wl,--no-as-needed flags: -pthread -I/usr/local/include/goa-1.0 -I/usr/local/lib/goa-1.0/include -I/usr/local/include/evolution-data-server -I/usr/local/include -I/usr/local/include/evolution-data-server -I/usr/local/include/gtk-3.0 -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -I/usr/local/include/gtk-3.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -I/usr/local/include -I/usr/local/include/libdrm -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng16 -I/usr/local/include/evolution-data-server -I/usr/local/include -I/usr/local/include/nss -I/usr/local/include/nspr -I/usr/local/include/libsecret-1 -I/usr/local/include/libsoup-2.4 -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gsettings-desktop-schemas -L/usr/local/lib -Wl,--export-dynamic -lgmodule-2.0 -pthread -lgoa-1.0 -lecal-1.2 -ledataserver-1.2 -ledataserverui-1.2 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -ledataserver-1.2 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lsecret-1 -lxml2 -lsoup-2.4 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lical -licalss -licalvcal -lpthread /usr/local/lib/libicuuc.so /usr/local/lib/libicui18n.so -lical Now type 'make' to build gnome-calendar