Skip to content

Commit

Permalink
Use C++ in SPM preset (#832)
Browse files Browse the repository at this point in the history
  • Loading branch information
SeekyCt authored Sep 1, 2023
1 parent 45b006e commit 5b45631
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/coreapp/compilers.py
Original file line number Diff line number Diff line change
Expand Up @@ -1186,7 +1186,7 @@ def preset_from_name(name: str) -> Optional[Preset]:
MKW_SHARED = "-nodefaults -align powerpc -enc SJIS -proc gekko -enum int -O4,p -inline auto -W all -fp hardware -W noimplicitconv -w notinlined -w nounwanted -DREVOKART -Cpp_exceptions off -RTTI off -nostdinc -msgstyle gcc -func_align 4 -sym dwarf-2"

# SPM Common flags
SPM_SHARED = "-enc SJIS -lang c99 -W all -fp fmadd -Cpp_exceptions off -O4 -use_lmw_stmw on -str pool -rostr -sym on -ipa file"
SPM_SHARED = "-enc SJIS -lang c++ -W all -fp fmadd -Cpp_exceptions off -O4 -use_lmw_stmw on -str pool -rostr -sym on -ipa file"

# Rat Proto Common flags
RAT_SHARED = '-fp_contract on -pool off -RTTI off -nodefaults -Cpp_exceptions off -schedule on -lang=c++ -char signed -str reuse,pool,readonly -fp fmadd -use_lmw_stmw on -pragma "cpp_extensions on" -sym on -enum int -inline off'
Expand Down

0 comments on commit 5b45631

Please sign in to comment.