summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick White <hg@njw.me.uk>2011-07-17 16:22:30 +0100
committerNick White <hg@njw.me.uk>2011-07-17 16:22:30 +0100
commit46e8d5f0690f4d8c4184e47d6f62fb3f409901b9 (patch)
tree1e7467a78ad4a933c2224edbea21d32e835df753
parent07fdb0adb5a3578f449902571b02a7faa4590d7d (diff)
Separate glibc & musl options in config.mk
-rw-r--r--config.mk10
1 files changed, 7 insertions, 3 deletions
diff --git a/config.mk b/config.mk
index 5be8319..4489242 100644
--- a/config.mk
+++ b/config.mk
@@ -4,10 +4,14 @@ VERSION = prealpha
# paths
PREFIX = /usr/local
-# flags
CFLAGS = -ansi -pedantic -Wall -Wextra -Werror -g -D_POSIX_C_SOURCE=200112L -DVERSION=\"$(VERSION)\"
-LDFLAGS = -static #-s
-# compiler and linker
+# musl static
CC = musl-gcc
+LDFLAGS = -static #-s
+
+# glibc dynamic
+#CC = cc
+#LDFLAGS =
+
LD = ld