Skip to content

Commit

Permalink
scripts: Simplify debug build
Browse files Browse the repository at this point in the history
_FORTIFY_SOURCE causes trouble when optimizations are disabled.
  • Loading branch information
bluewww committed Mar 10, 2024
1 parent a823593 commit b1e086f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure-debug
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/usr/bin/bash
./configure CFLAGS="-O0 -g -fno-strict-aliasing -DENABLE_LOGGING -DENABLE_DEBUG -fsanitize=address -fno-omit-frame-pointer -fsanitize=undefined -fsanitize=leak" CPPFLAGS="-D_FORTIFY_SOURCE=2"
./configure CFLAGS="-Og -g -fno-strict-aliasing -DENABLE_LOGGING -DENABLE_DEBUG -fsanitize=address -fno-omit-frame-pointer -fsanitize=undefined -fsanitize=leak"

0 comments on commit b1e086f

Please sign in to comment.