summaryrefslogtreecommitdiff
path: root/targets/newisys
diff options
context:
space:
mode:
Diffstat (limited to 'targets/newisys')
-rw-r--r--targets/newisys/khepri/Config.lb4
1 files changed, 4 insertions, 0 deletions
diff --git a/targets/newisys/khepri/Config.lb b/targets/newisys/khepri/Config.lb
index 75328fc3c1..9ac5645c15 100644
--- a/targets/newisys/khepri/Config.lb
+++ b/targets/newisys/khepri/Config.lb
@@ -51,6 +51,10 @@ uses CONFIG_CHIP_CONFIGURE
uses XIP_ROM_SIZE
uses XIP_ROM_BASE
uses LINUXBIOS_EXTRA_VERSION
+uses CC
+
+# set target C compiler to 32bit gcc.
+option CC="gcc -m32"
# Configuration options.