[
https://issues.apache.org/jira/browse/HDFS-9487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15032738#comment-15032738
]
Bob Hansen commented on HDFS-9487:
----------------------------------
http://unix.stackexchange.com/questions/187455/how-to-compile-without-optimizations-o0-using-cmake
is a pattern to follow that might help.
> libhdfs++ Enable builds with no compiler optimizations
> ------------------------------------------------------
>
> Key: HDFS-9487
> URL: https://issues.apache.org/jira/browse/HDFS-9487
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: hdfs-client
> Reporter: James Clampffer
> Assignee: James Clampffer
>
> The default build configuration uses -02 -g <some other stuff>. To make
> debugging easier it would be really nice to be able to produce builds with
> -O0.
> I haven't found an existing flag to pass to maven or cmake to accomplish
> this.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)