R&D/OS

pkg-buildflags , gcc opimization options

sunshout 2013. 7. 12. 17:46

dpkg-buildflags is a tool to retrieve compilation flags to use during

       build of Debian packages.  The default flags are defined by the  vendor
       but they can be extended/overriden in several ways:


설정 파일 : /etc/dpkg/buildflags.conf


현재의 buildflags 정보 : dpkg-buildflags --list


root@cnode01-m:~/libvirt-1.0.6# dpkg-buildflags --list

CFLAGS

CPPFLAGS

CXXFLAGS

FFLAGS

LDFLAGS



참조 : GCC optimization 옵션