mirror of
https://github.com/odin-lang/Odin.git
synced 2026-07-15 12:20:26 +00:00
fixup! fix: reworked the playdate subtarget to fix issues with the requirement for single point precision floats, as well as an issue with function lowering when set to thumb mode only instrunctions.
This commit is contained in:
@@ -1964,7 +1964,7 @@ gb_internal void init_build_context(TargetMetrics *cross_target, Subtarget subta
|
||||
// single precision float fpu as well as issues with function lowering
|
||||
// when using the thumbv7em triplet.
|
||||
bc->metrics.target_triplet = str_lit("arm-unknown-unknown-gnueabihf");
|
||||
//no-movt required as playdate doesn't support it
|
||||
//no-movt required as playdate only handles R_ARM_ABS32 relocations
|
||||
String const playdate_features = str_lit("no-movt,armv7e-m,thumb2,m7,fpregs");
|
||||
|
||||
if(bc->target_features_string.len > 0) {
|
||||
|
||||
Reference in New Issue
Block a user