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