[ https://issues.apache.org/jira/browse/SERF-206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17988214#comment-17988214 ]
Branko Čibej commented on SERF-206: ----------------------------------- These unnecessary debugging and optimization (and warning!) flags came from {{apr-1-config --cflags}}, they have to be filtered out in SConstruct and CMakeLists.txt > SCons sometimes overrides compiler flags > ---------------------------------------- > > Key: SERF-206 > URL: https://issues.apache.org/jira/browse/SERF-206 > Project: serf > Issue Type: Bug > Affects Versions: serf-1.4.0, serf-trunk, serf-1.3.10 > Reporter: Branko Čibej > Priority: Minor > > See the discussion in SERF-133: on some platforms, for no discernible reason, > SCons will add debugging ({{-g}}) and/or optimisation ({{-O2}}) flags to the > environment's {{CCFLAGS}} during config checks. This overrides users' > settings in {{CFLAGS}}. -- This message was sent by Atlassian Jira (v8.20.10#820010)