Rich Felker | 0b44a03 | 2011-02-12 00:22:29 -0500 | [diff] [blame] | 1 | # |
| 2 | # musl config.mak template (original in dist/config.mak) |
| 3 | # |
| 4 | |
| 5 | # Target CPU architecture. Supported values: i386 |
| 6 | ARCH = i386 |
| 7 | |
| 8 | # Installation prefix. DO NOT use /, /usr, or /usr/local ! |
| 9 | prefix = /usr/local/musl |
| 10 | |
| 11 | # Installation prefix for musl-gcc compiler wrapper. |
| 12 | exec_prefix = /usr/local |
| 13 | |
| 14 | # Uncomment if you want to build i386 musl on a 64-bit host |
| 15 | #CFLAGS += -m32 |
| 16 | |
| 17 | # Uncomment for smaller code size. |
| 18 | #CFLAGS += -fomit-frame-pointer -mno-accumulate-outgoing-args |
| 19 | |
| 20 | # Uncomment for warnings (as errors). Might need tuning to your gcc version. |
| 21 | #CFLAGS += -Werror -Wall -Wpointer-arith -Wcast-align -Wno-parentheses -Wno-char-subscripts -Wno-uninitialized -Wno-sequence-point -Wno-missing-braces -Wno-unused-value |
| 22 | #CFLAGS += -Wno-pointer-sign |
| 23 | |
| 24 | # Uncomment if you want to build a shared library (experimental). |
| 25 | #LIBC_LIBS += lib/libc.so |