Skip to content
Snippets Groups Projects
Commit b83f8ff8 authored by Jaroslav Tulach's avatar Jaroslav Tulach
Browse files

Warn the build isn't going to be portable when FASTR_RELEASE=dev

parent 2f541c4a
No related branches found
No related tags found
No related merge requests found
......@@ -133,7 +133,10 @@ def copylib(args):
# if args[0] == 'quadmath' and (mx.get_arch() == 'sparcv9' or mx.get_os() == 'solaris'):
if mx.get_arch() == 'sparcv9' or mx.get_os() == 'solaris':
return 0
if os.environ.get('FASTR_RELEASE') != 'dev':
if os.environ.get('FASTR_RELEASE') == 'dev':
mx.log(args[0] + ' not found in PKG_LDFLAGS_OVERRIDE, but required with FASTR_RELEASE')
mx.log('the resulting FastR release build will not be portable to another system')
else:
mx.abort(args[0] + ' not found in PKG_LDFLAGS_OVERRIDE, but required with FASTR_RELEASE')
mx.log(args[0] + ' not found in PKG_LDFLAGS_OVERRIDE, assuming system location')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment