Monthly Archives: November 2012

How -g0 may be useful

Usually I use -g0 as CFLAGS/CXXFLAGS; it will be useful to find wrong buildsystem behavior. ago@arcadia ~ $ portageq envvar CFLAGS -march=native -O2 -g0 Here is an example where the buildsystem sed only ‘-g‘, leaves ‘0‘ and causes compile failure: … Continue reading

Posted in arch testing, gentoo | 2 Comments