Starting from 17.0 the feature for BSP developer for flat compilation via ACL_QSH_COMPILE_CMD is no longer valid.
Intel Software: Intel FPGA SDK for OpenCL
Version Found: v17.0
Bug ID: FB: 499213;
The correct way to target a flat compilation is using the aoc argument: -bsp-flow flat.