blob: 19f5266a0189654a78db63221d6129ceb6f1062c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
--- a/Makefile
+++ b/Makefile
@@ -10,13 +10,13 @@ OBJS = vpncwatch.o proc.o net.o
DISTFILES = AUTHORS COPYING README Makefile $(SRCS) $(HDRS) vpnc-watch.py
CC ?= gcc
-CFLAGS = -D_GNU_SOURCE -O2 -Wall -Werror
+CFLAGS += -D_GNU_SOURCE -Wall
# Update version in vpncwatch.h as well
TAG = vpncwatch-1.8.1
vpncwatch: $(OBJS)
- $(CC) $(CFLAGS) -o $@ $(OBJS)
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS)
.c.o:
$(CC) $(CFLAGS) -c -o $@ $<
|