Skip to content

Commit

Permalink
Add LDFLAGS in MAINTAINER_MODE
Browse files Browse the repository at this point in the history
Otherwise the -ggdb in CFLAGS is useless.
  • Loading branch information
larskanis committed Apr 9, 2024
1 parent 21285ba commit effd4fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ext/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
' -ggdb' <<
' -DDEBUG' <<
' -pedantic'
$LDFLAGS <<
' -ggdb'
end

if pgdir = with_config( 'pg' )
Expand Down

0 comments on commit effd4fa

Please sign in to comment.