diff --git a/SConscript b/SConscript index a671aee..0d786d0 100644 --- a/SConscript +++ b/SConscript @@ -1,4 +1,4 @@ -Import('env', 'envCython', 'arch', 'QCOM_REPLAY') +Import('env', 'envCython', 'arch') import shutil @@ -54,7 +54,7 @@ vipc_sources = [ 'visionipc/visionbuf.cc', ] -if arch in ["aarch64", "larch64"] and (not QCOM_REPLAY): +if arch in ["aarch64", "larch64"]: vipc_sources += ['visionipc/visionbuf_ion.cc'] else: vipc_sources += ['visionipc/visionbuf_cl.cc'] diff --git a/SConstruct b/SConstruct index 04d31ad..9f95ed6 100644 --- a/SConstruct +++ b/SConstruct @@ -55,8 +55,7 @@ env = Environment( tools=["default", "cython"] ) -QCOM_REPLAY = False -Export('env', 'arch', 'QCOM_REPLAY') +Export('env', 'arch') envCython = env.Clone(LIBS=[]) envCython["CCFLAGS"] += ["-Wno-#warnings", "-Wno-deprecated-declarations"]