To protect your data, the CISO officer has suggested users to enable GitLab 2FA as soon as possible.

Commit 08b0500e authored by John Zhang's avatar John Zhang
Browse files

fix case when ZEBU_BUILD not defined

parent 2b070f15
...@@ -7,6 +7,8 @@ NOTE: THIS FILE IS *NOT* RPYTHON. ...@@ -7,6 +7,8 @@ NOTE: THIS FILE IS *NOT* RPYTHON.
from rpython.rtyper.lltypesystem import rffi from rpython.rtyper.lltypesystem import rffi
from rpython.rtyper.lltypesystem import lltype from rpython.rtyper.lltypesystem import lltype
from rpython.tool.udir import udir from rpython.tool.udir import udir
import os
class CCall(object): class CCall(object):
__slots__ = ('fnc_name', 'args', 'rtn_var', 'context', 'check_err') __slots__ = ('fnc_name', 'args', 'rtn_var', 'context', 'check_err')
...@@ -226,7 +228,7 @@ class APILogger: ...@@ -226,7 +228,7 @@ class APILogger:
defs = [ defs = [
('OBJECTS', ' '.join(['file_%d.o' % i for i in range(num_c_files)]) + ' main.o'), ('OBJECTS', ' '.join(['file_%d.o' % i for i in range(num_c_files)]) + ' main.o'),
('INCLUDEDIRS', '-I$(MU_ZEBU)/src/vm/api'), ('INCLUDEDIRS', '-I$(MU_ZEBU)/src/vm/api'),
('LIBDIRS', '-L$(MU_ZEBU)/target/$(ZEBU_BUILD)'), ('LIBDIRS', '-L$(MU_ZEBU)/target/%s' % os.environ.get('ZEBU_BUILD', 'debug')),
('LIBS', '-lmu'), ('LIBS', '-lmu'),
('TARGET', target), ('TARGET', target),
('CC', platform.cc), ('CC', platform.cc),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment