Looking at a single call out of many... Note that I didn't ask for a debug build, but I do immediately get -DNDEBUG thrown in: /usr/lib64/distcc/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG These next few are mine: -march=core2 -frecord-gcc-switches -g -pipe -O2 -Wall -mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm -mno-avx -mno-sse4.2 -mno-sse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=2048 -mtune=core2 -Wno-comment I didn't order an -O3, but I guess it goes with the -DNDEBUG: -O3 -DNDEBUG and these stand apart from the usual includes: -I/var/tmp/portage/x11-wm/awesome-3.5.5/work/awesome-3.5.5 -I/var/tmp/portage/x11-wm/awesome-3.5.5/work/awesome-3.5.5_build -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/startup-notification-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include To round it off, after injecting -O3, we get -O1 as a bonus. And -ggdb3! And -rdynamic! -O1 -std=gnu99 -ggdb3 -rdynamic -fno-strict-aliasing -Wall -Wextra -Wchar-subscripts -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wsign-compare -Wunused -Wno-unused-parameter -Wuninitialized -Winit-self -Wpointer-arith -Wformat-nonliteral -Wno-format-zero-length -Wmissing-format-attribute -Wmissing-prototypes -Wstrict-prototypes -o CMakeFiles/awesome.dir/awesome.c.o -c /var/tmp/portage/x11-wm/awesome-3.5.5/work/awesome-3.5.5/awesome.c Awesome!
That's where -O1 and friends seem to come from: http://git.naquadah.org/?p=awesome.git;a=blob;f=awesomeConfig.cmake;h=c305dc53743996d539a9e8725fe7809db1fdf6ce;hb=9a0ba0ff5791f247fb8a0067f304ef1e4822028f#l18 Haven't yet found anything about -O3 -DNDEBUG
fixed in 3.5.5-r1 -add_definitions(-O1 -std=gnu99 -ggdb3 -rdynamic -fno-strict-aliasing -Wall -Wextra +add_definitions(-std=gnu99 -fno-strict-aliasing -Wall -Wextra let me know if more was needed.