Skip to content

Pass cflags to compile - #118

Open
ryangraham wants to merge 1 commit into
alup:masterfrom
ryangraham:master
Open

Pass cflags to compile#118
ryangraham wants to merge 1 commit into
alup:masterfrom
ryangraham:master

Conversation

@ryangraham

Copy link
Copy Markdown

So that I can pass CFLAGS to avoid segfaults in ree-1.8.7-2012.02.

  rbenv::compile { 'ree-1.8.7-2012.02':
    configure_opts => '',
    cflags => '-O2 -fno-tree-dce -fno-optimize-sibling-calls',
    source => 'puppet:///.../patched-ree'
  }

Although I see another pull request for MAKE_OPTS. Maybe rather than adding all of these fields we should make environment more flexible.

PS: Thanks for the great module. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant