mirror of
https://github.com/rubyjs/libv8
synced 2023-03-27 23:21:48 -04:00
Turn off strictaliasing warning for GCC < 4.6
This commit is contained in:
parent
7569d8b278
commit
2a545e9ba0
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ module Libv8
|
|||
# FreeBSD uses gcc 4.2 by default which leads to
|
||||
# compilation failures due to warnings about aliasing.
|
||||
# http://svnweb.freebsd.org/ports/head/lang/v8/Makefile?view=markup
|
||||
flags << "strictaliasing=off" if @compiler.is_a?(Compiler::GCC) and @compiler.version < '4.4'
|
||||
flags << "strictaliasing=off" if @compiler.is_a?(Compiler::GCC) and @compiler.version < '4.6'
|
||||
|
||||
# Fix Malformed archive issue caused by GYP creating thin archives by
|
||||
# default.
|
||||
|
|
Loading…
Add table
Reference in a new issue