summaryrefslogtreecommitdiff
path: root/modules/remote-sycl/examples/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'modules/remote-sycl/examples/SConscript')
-rw-r--r--modules/remote-sycl/examples/SConscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/remote-sycl/examples/SConscript b/modules/remote-sycl/examples/SConscript
index 02e528b..015b492 100644
--- a/modules/remote-sycl/examples/SConscript
+++ b/modules/remote-sycl/examples/SConscript
@@ -15,6 +15,7 @@ examples_env = env.Clone();
examples_sycl_env = examples_env.Clone();
examples_sycl_env['CXX'] = 'acpp';
+examples_sycl_env['CXXFLAGS'] += ['-O2'];
examples_env.sources = sorted(glob.glob(dir_path + "/*.cpp"))
examples_env.headers = sorted(glob.glob(dir_path + "/*.hpp"))