1 Build-Depends: .., gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), ...
3 dpkg-buildpackage: source package test
5 dh_auto_configure -- CFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security" CPPFLAGS="-D_FORTIFY_SOURCE=2" CXXFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security" LDFLAGS="-Wl,-z,relro -Wl,-z,defs -Wl,--as-needed" ...
7 gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -c test.c
9 # `...` isn't expanded by the Makefile, assume dpkg-buildflags returns the
11 gcc -c `dpkg-buildflags --get CFLAGS` test.c
12 g++ -c `dpkg-buildflags --get CXXFLAGS` test.cc
13 gcc -c `dpkg-buildflags --get LDFLAGS` test.c
14 gcc -c `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` test.c
15 g++ -c `dpkg-buildflags --get CXXFLAGS` `dpkg-buildflags --get CPPFLAGS` test.cc
16 gcc -o test test.o `dpkg-buildflags --get LDFLAGS`
17 gcc -o test test.o `dpkg-buildflags --get CFLAGS`
19 Build finished at 20120308-1648
21 Depends: libc6 (>= 2.7), gcc