llvm-project/compiler-rt/make/options.mk

37 lines
927 B
Makefile

# Options which may be overriden for platforms, etc.
#
# This list of such variables should be kept up to date with AvailableOptions in
# 'make/lib_info.mk'.
# The compiler to use.
CC := gcc
# The compiler flags to use.
CFLAGS := -Wall -Werror
# The list of functions to include in the library.
FUNCTIONS :=
# Whether optimized function implementations should be used.
OPTIMIZED := 1
# Whether function definitions should use hidden visibility. This adds the
# -fvisibility=hidden compiler option and uses .private_extern annotations in
# assembly files.
#
# FIXME: Make this more portable. When that is done, it should probably be the
# default.
VISIBILITY_HIDDEN := 0
# Miscellaneous tools.
AR := ar
# FIXME: Remove these pipes once ranlib errors are fixed.
ARFLAGS := cru 2> /dev/null
RANLIB := ranlib
# FIXME: Remove these pipes once ranlib errors are fixed.
RANLIBFLAGS := 2> /dev/null
STRIP := strip
LIPO := lipo