Skip to content
Commit 99bab75a authored by Kai Vehmanen's avatar Kai Vehmanen Committed by Anas Nashif
Browse files

cmake: fix use of unsupported -fno-pie with xcc



The commit 8259931f ("xcc-clang: Do not used unavailable options")
has a side-effect that builds with xcc default to use -fno-pie. This
is not a supported compiler option for xcc, resulting in failing builds.

Use same configuration for xcc as is in place for xcc-clang, and
do not use -fno-pie.

Signed-off-by: default avatarKai Vehmanen <kai.vehmanen@linux.intel.com>
parent 52fe0649
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment