1
0

config.mak 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. #
  2. # musl config.mak template (original in dist/config.mak)
  3. #
  4. # Target CPU architecture. Supported values: i386, x86_64
  5. ARCH = i386
  6. # Installation prefix. DO NOT use /, /usr, or /usr/local !
  7. prefix = /usr/local/musl
  8. # Installation prefix for musl-gcc compiler wrapper.
  9. exec_prefix = /usr/local
  10. # Location for the dynamic linker ld-musl-$(ARCH).so.1
  11. syslibdir = /lib
  12. # Uncomment if you want to build i386 musl on a 64-bit host
  13. #CFLAGS += -m32
  14. # Uncomment to fix broken distro-patched toolchains where hash-style=gnu(only)
  15. #LDFLAGS += -Wl,--hash-style,both
  16. # Uncomment to fix broken distro-patched toolchains where stack-protector=on
  17. #CFLAGS += -fno-stack-protector
  18. # Uncomment for smaller code size.
  19. #CFLAGS += -fomit-frame-pointer -mno-accumulate-outgoing-args
  20. # Uncomment to omit massive GCC4 DWARF2 bloat (only useful for debugging)
  21. #CFLAGS += -fno-asynchronous-unwind-tables
  22. # Uncomment for warnings (as errors). Might need tuning to your gcc version.
  23. #CFLAGS += -Werror -Wall -Wpointer-arith -Wcast-align -Wno-parentheses -Wno-char-subscripts -Wno-uninitialized -Wno-sequence-point -Wno-missing-braces -Wno-unused-value -Wno-overflow -Wno-int-to-pointer-cast
  24. # Uncomment if you want to disable building the shared library.
  25. #SHARED_LIBS =