File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -196,6 +196,11 @@ set_target_properties(acl_objs PROPERTIES
196
196
target_compile_features (acl_objs PRIVATE cxx_std_11 )
197
197
# These compile_definitions need to be public, since we're building an OBJECT library (?)
198
198
target_compile_definitions (acl_objs PUBLIC
199
+ # Revert to old pre-C++11 ABI for std::string and std::list in libstdc++.
200
+ # This is needed for ABI compatibility with the Intel® FPGA Add-On for
201
+ # oneAPI Base Toolkit, particularly the simulation flow, which accesses
202
+ # the internal runtime API that exposes C++ structures and functions.
203
+ # https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html
199
204
_GLIBCXX_USE_CXX11_ABI=0
200
205
ACL_SUPPORT_DOUBLE=0
201
206
ACL_HAS_STDLIB_STDIO
You can’t perform that action at this time.
0 commit comments