Skip to content

Commit ccff57d

Browse files
db434imphil
authored andcommitted
Encourage libraries to be built with correct code model
1 parent d1755b7 commit ccff57d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lowrisc-toolchain-gcc-rv64imac.config

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ CT_ARCH_ARCH="rv64imac"
1414
# ABI.
1515
CT_ARCH_ABI="lp64"
1616

17+
CT_TARGET_CFLAGS="-mcmodel=medany"
18+
1719
CT_TARGET_VENDOR=""
1820
CT_TOOLCHAIN_BUGURL="[email protected]"
1921

0 commit comments

Comments
 (0)