Set default CFLAGS, CXXFLAGS to empty #13434 pull ken2812221 wants to merge 1 commits into bitcoin:master from ken2812221:enable_debug changing 1 files +2 −0 Conversation Commits1 Files1 Check ken2812221 commented at 9:01 AM on June 11, 2018: contributor Fix #13432 Remove default -g -O2 flags Set default CFLAGS, CXXFLAGS to empty 1710c5bdbe fanquake added the label Build system on Jun 11, 2018 ken2812221 commented at 9:11 AM on June 11, 2018: contributor Thses flags seem can be disabled by --disable-maintainer-mode. So close it. ken2812221 closed this on Jun 11, 2018 ken2812221 deleted the branch on Jun 11, 2018 murrayn cross-referenced this on Jun 11, 2018 from issue Build: ./configure --enable-debug generates -O2 optimization option which overrides earlier -Og. by murrayn luke-jr commented at 2:45 PM on June 11, 2018: member The default is supposed to be -g -O2. This wouldn't be a proper fix for #13432 anyway. bitcoin locked this on Sep 8, 2021 Contributorsken2812221luke-jr LabelsBuild system Linked (view graph)#13432 Build: ./configure --enable-debug generates -O2 optimization option which overrides earlier -Og.