Skip to content

Commit e3fff8c

Browse files
Add -fno-approx-func to build_clib too
1 parent b9ccfbb commit e3fff8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/command_build_clib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
# default variables (for Linux)
6363
_project_compiler = "dpcpp"
6464
_project_linker = "dpcpp"
65-
_project_cmplr_flag_sycl_devel = ["-fsycl-device-code-split=per_kernel"]
65+
_project_cmplr_flag_sycl_devel = ["-fsycl-device-code-split=per_kernel", "-fno-approx-func"]
6666
_project_cmplr_flag_sycl = ["-fsycl"]
6767
_project_cmplr_flag_stdcpp_static = [] # This brakes TBB ["-static-libstdc++", "-static-libgcc"]
6868
_project_cmplr_flag_compatibility = ["-Wl,--enable-new-dtags"]

0 commit comments

Comments
 (0)