mirror of
https://github.com/autc04/Retro68.git
synced 2025-02-02 14:31:18 +00:00
Implement a -carbon option for gcc: link with CarbonLib instead of InterfaceLib
This commit is contained in:
parent
ce3a2dcc52
commit
05d5067e33
@ -69,7 +69,7 @@
|
||||
/* Profiled library versions are used by linking with special directories. */
|
||||
#define LIB_SPEC "-lc"
|
||||
|
||||
#define LIBGCC_SPEC "-lretrocrt -lgcc -lInterfaceLib"
|
||||
#define LIBGCC_SPEC "-lretrocrt -lgcc %{carbon: -lCarbonLib} %{!carbon: -lInterfaceLib}"
|
||||
|
||||
/* Static linking with shared libstdc++ requires libsupc++ as well. */
|
||||
#define LIBSTDCXX_STATIC "supc++"
|
||||
|
@ -600,3 +600,6 @@ Allow float/double variables in upper registers if cpu allows it
|
||||
moptimize-swaps
|
||||
Target Undocumented Var(rs6000_optimize_swaps) Init(1) Save
|
||||
Analyze and remove doubleword swaps from VSX computations.
|
||||
|
||||
carbon
|
||||
Target RejectNegative
|
Loading…
x
Reference in New Issue
Block a user