ubuntu / gnome-sdk

GNOME SDK/Platform snap
22 stars 24 forks source link

Add -O3 and -g parameters to autotools parts #98

Closed sergio-costas closed 1 year ago

sergio-costas commented 1 year ago

The parts built with the MESON module have been using the -O3 and -g parameters since several months ago, but the parts built with the AUTOTOOLS module weren't. This patch fixes this.

sergio-costas commented 1 year ago

I'm not sure if for C++ code I have to use CCFLAGS or CXXFLAGS.

kenvandine commented 1 year ago

I'm not sure if for C++ code I have to use CCFLAGS or CXXFLAGS.

I think it's CXXFLAGS, but not certain.

sergio-costas commented 1 year ago

Anyway, using CXXFLAGS, epiphany doesn't work, so it seems that using that is problematic. Closing.