1Description := Static runtime libraries for mingw-w64 2 3### 4 5CC ?= cc 6AR ?= ar 7 8Arch := unknown 9Configs := 10 11SupportedArches := x86_64 i386 arm 12 13Configs += builtins-x86_64 builtins-i386 builtins-arm 14Arch.builtins-x86_64 := x86_64 15Arch.builtins-i386 := i386 16Arch.builtins-arm := arm 17 18### 19 20CFLAGS := -Wall -O3 -fomit-frame-pointer 21CFLAGS.builtins-x86_64 := -target x86_64-windows-gnu $(CFLAGS) 22CFLAGS.builtins-i386 := -target i686-windows-gnu $(CFLAGS) 23CFLAGS.builtins-arm := -target armv7-windows-gnu $(CFLAGS) 24 25FUNCTIONS.builtins-x86_64 := $(CommonFunctions) $(ArchFunctions.x86_64) 26FUNCTIONS.builtins-i386 := $(CommonFunctions) $(ArchFunctions.i386) 27FUNCTIONS.builtins-arm := $(CommonFunctions) $(ArchFunctions.arm) 28 29# Always use optimized variants. 30OPTIMIZED := 1 31