[vlc-devel] Debug compile
Rémi Denis-Courmont
remi at remlab.net
Wed Apr 22 22:44:03 CEST 2015
Le mercredi 22 avril 2015, 14:25:28 Jeff J a écrit :
> When trying to compile VLC to debug, I replaced all instances of the string
> '-O2' with '-Og' in the tree. However, after I run make, there are dozens
> of files with the string '-O2'. Where does this come from? I want to
> compile with -Og so I can properly debug.
Just set $CFLAGS and $CXXFLAGS before you start configure.
That said, I just add "-g". Disabling -O2 is not a good idea in my experience.
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list