We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 944211d commit 73fed7fCopy full SHA for 73fed7f
Makefile
@@ -1,6 +1,7 @@
1
2
CC ?= gcc
3
-CFLAGS = -O2 -Wall -Wwrite-strings -pedantic -std=gnu99
+CFLAGS ?= -O2 -Wall -Wwrite-strings -pedantic
4
+CFLAGS += -std=gnu99
5
POST_LINKING =
6
FEATURES ?= auth cmd natpmp nss upnp #dns debug web
7
@@ -72,7 +73,7 @@ libnss_kadnode.so.2:
72
73
$(CC) $(CFLAGS) -fPIC -shared -Wl,-soname,libnss_kadnode.so.2 -o build/libnss_kadnode.so.2 build/ext-libnss.o
74
75
kadnode-ctl:
- $(CC) src/kadnode-ctl.c -o build/kadnode-ctl
76
+ $(CC) $(CFLAGS) src/kadnode-ctl.c -o build/kadnode-ctl
77
78
kadnode: $(OBJS) $(EXTRA)
79
$(CC) $(OBJS) -o build/kadnode $(POST_LINKING)
0 commit comments