xref: /aosp_15_r20/external/compiler-rt/make/platform/clang_mingw.mk (revision 7c3d14c8b49c529e04be81a3ce6f5cc23712e4c6)
1*7c3d14c8STreehugger RobotDescription := Static runtime libraries for mingw-w64
2*7c3d14c8STreehugger Robot
3*7c3d14c8STreehugger Robot###
4*7c3d14c8STreehugger Robot
5*7c3d14c8STreehugger RobotCC ?= cc
6*7c3d14c8STreehugger RobotAR ?= ar
7*7c3d14c8STreehugger Robot
8*7c3d14c8STreehugger RobotArch := unknown
9*7c3d14c8STreehugger RobotConfigs :=
10*7c3d14c8STreehugger Robot
11*7c3d14c8STreehugger RobotSupportedArches := x86_64 i386 arm
12*7c3d14c8STreehugger Robot
13*7c3d14c8STreehugger RobotConfigs += builtins-x86_64 builtins-i386 builtins-arm
14*7c3d14c8STreehugger RobotArch.builtins-x86_64 := x86_64
15*7c3d14c8STreehugger RobotArch.builtins-i386 := i386
16*7c3d14c8STreehugger RobotArch.builtins-arm := arm
17*7c3d14c8STreehugger Robot
18*7c3d14c8STreehugger Robot###
19*7c3d14c8STreehugger Robot
20*7c3d14c8STreehugger RobotCFLAGS := -Wall -O3 -fomit-frame-pointer
21*7c3d14c8STreehugger RobotCFLAGS.builtins-x86_64 := -target x86_64-windows-gnu $(CFLAGS)
22*7c3d14c8STreehugger RobotCFLAGS.builtins-i386 := -target i686-windows-gnu $(CFLAGS)
23*7c3d14c8STreehugger RobotCFLAGS.builtins-arm := -target armv7-windows-gnu $(CFLAGS)
24*7c3d14c8STreehugger Robot
25*7c3d14c8STreehugger RobotFUNCTIONS.builtins-x86_64 := $(CommonFunctions) $(ArchFunctions.x86_64)
26*7c3d14c8STreehugger RobotFUNCTIONS.builtins-i386 := $(CommonFunctions) $(ArchFunctions.i386)
27*7c3d14c8STreehugger RobotFUNCTIONS.builtins-arm := $(CommonFunctions) $(ArchFunctions.arm)
28*7c3d14c8STreehugger Robot
29*7c3d14c8STreehugger Robot# Always use optimized variants.
30*7c3d14c8STreehugger RobotOPTIMIZED := 1
31