Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Commit 49873b3

Browse files
committed
Fixed the make_target method so it actually works.
1 parent 47b3ca9 commit 49873b3

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

ext/libv8/builder.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,11 @@ def initialize
1717
end
1818

1919
def make_target
20+
profile = enable_config('debug') ? 'debug' : 'release'
2021
"#{libv8_arch}.#{profile}"
2122
end
2223

2324
def make_flags(*flags)
24-
profile = enable_config('debug') ? 'debug' : 'release'
25-
2625
# FreeBSD uses gcc 4.2 by default which leads to
2726
# compilation failures due to warnings about aliasing.
2827
# http://svnweb.freebsd.org/ports/head/lang/v8/Makefile?view=markup

0 commit comments

Comments
 (0)