Home | History | Annotate | Download | only in make
      1 # Options which may be overriden for platforms, etc.
      2 #
      3 # This list of such variables should be kept up to date with AvailableOptions in
      4 # 'make/lib_info.mk'.
      5 
      6 # The compiler to use.
      7 CC := gcc
      8 
      9 # The compiler flags to use.
     10 CFLAGS := -Wall -Werror
     11 
     12 # The list of functions to include in the library.
     13 FUNCTIONS :=
     14 
     15 # Whether optimized function implementations should be used.
     16 OPTIMIZED := 1
     17 
     18 # Whether function definitions should use hidden visibility. This adds the
     19 # -fvisibility=hidden compiler option and uses .private_extern annotations in
     20 # assembly files.
     21 #
     22 # FIXME: Make this more portable. When that is done, it should probably be the
     23 # default.
     24 VISIBILITY_HIDDEN := 0
     25 
     26 # Miscellaneous tools.
     27 
     28 AR := ar
     29 # FIXME: Remove these pipes once ranlib errors are fixed.
     30 ARFLAGS := cru 2> /dev/null
     31 RANLIB := ranlib
     32 # FIXME: Remove these pipes once ranlib errors are fixed.
     33 RANLIBFLAGS := 2> /dev/null
     34