Skip to content

Commit

Permalink
Generate debug symbols by default
Browse files Browse the repository at this point in the history
This is very helpful when you debug the application and try to restore
the function names.
  • Loading branch information
anatol committed Jan 18, 2012
1 parent a32991a commit f4dad7c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.rb
Expand Up @@ -39,6 +39,8 @@
if release then
archs = '-arch i386 -arch x86_64'
flags += "CFLAGS='#{archs} -mmacosx-version-min=10.5' LDFLAGS='#{archs}' --disable-dependency-tracking"
else
flags += "CFLAGS='-g -O0'"
end

system('autoreconf -f -i -Wall,no-obsolete') or abort
Expand Down

0 comments on commit f4dad7c

Please sign in to comment.