1
0
Fork 0
mirror of https://github.com/rubyjs/mini_racer synced 2023-03-27 23:21:28 -04:00

Disable check for missing symbols at link time

This causes issues on some Ruby installs, e.g AWS Linux
Keeping it around for diagnostics/future configurable
This commit is contained in:
Loic Nageleisen 2021-04-01 15:51:58 +02:00
parent a875cacafb
commit d58f6467e4

View file

@ -19,8 +19,10 @@ $CPPFLAGS += " -fvisibility=hidden "
$CPPFLAGS += " -Wno-reserved-user-defined-literal" if IS_DARWIN
$LDFLAGS.insert(0, " -stdlib=libc++ ") if IS_DARWIN
$LDFLAGS += " -Wl,--no-undefined " unless IS_DARWIN
$LDFLAGS += " -Wl,-undefined,error " if IS_DARWIN
# check for missing symbols at link time
# $LDFLAGS += " -Wl,--no-undefined " unless IS_DARWIN
# $LDFLAGS += " -Wl,-undefined,error " if IS_DARWIN
if ENV['CXX']
puts "SETTING CXX"