xref: /aosp_15_r20/external/compiler-rt/make/platform/multi_arch.mk (revision 7c3d14c8b49c529e04be81a3ce6f5cc23712e4c6)
1*7c3d14c8STreehugger RobotDescription := Example configuration for build two libraries for separate \
2*7c3d14c8STreehugger Robotarchitectures.
3*7c3d14c8STreehugger Robot
4*7c3d14c8STreehugger RobotConfigs := m32 m64
5*7c3d14c8STreehugger RobotArch := i386
6*7c3d14c8STreehugger RobotArch.m64 := x86_64
7*7c3d14c8STreehugger Robot
8*7c3d14c8STreehugger RobotCC := clang
9*7c3d14c8STreehugger Robot
10*7c3d14c8STreehugger RobotCFLAGS := -Wall -Werror
11*7c3d14c8STreehugger RobotCFLAGS.m32 := $(CFLAGS) -m32 -O3
12*7c3d14c8STreehugger RobotCFLAGS.m64 := $(CFLAGS) -m64 -O3
13*7c3d14c8STreehugger Robot
14*7c3d14c8STreehugger RobotFUNCTIONS := moddi3 floatundixf udivdi3
15*7c3d14c8STreehugger RobotFUNCTIONS.m64 := $(FUNCTIONS) lshrdi3
16