Skip to content

Commit

Permalink
I compile step definition should build in trema C compatible options.
Browse files Browse the repository at this point in the history
  • Loading branch information
y-higuchi committed Feb 23, 2013
1 parent 0e054cc commit 00176f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion features/step_definitions/misc_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


Given /^I compile "(.*?)" into "(.*?)"$/ do | c_source, executable |
run_simple "gcc #{ c_source } #{`trema-config -c -l`} -o #{ executable }", true
run_simple "gcc #{ c_source } -std=gnu99 -D_GNU_SOURCE -fno-strict-aliasing #{`trema-config -c -l`} -o #{ executable }", true
end


Expand Down

0 comments on commit 00176f5

Please sign in to comment.