Skip to content

Commit 6a0673c

Browse files
author
IPredator
committed
Append CFLAGS/LDFLAGS to any flags already set, so custom builds with non-standard include paths can work.
NOTE: This is a manual merge of argv0@27de53b
1 parent 13276f6 commit 6a0673c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ PREFIX = /usr/local
88
BINDIR = $(PREFIX)/bin
99
MANDIR = $(PREFIX)/share/man
1010

11-
CFLAGS = -O2 -g -std=c99 -fno-strict-aliasing -Wall -W -D_GNU_SOURCE -I/usr/local/include -I/usr/include/libev
12-
LDFLAGS = -lssl -lcrypto -lev -L/usr/local/lib
11+
CFLAGS += -O2 -g -std=c99 -fno-strict-aliasing -Wall -W -D_GNU_SOURCE -I/usr/local/include
12+
LDFLAGS += -lssl -lcrypto -lev -L/usr/local/lib
1313
OBJS = stud.o ringbuffer.o configuration.o
1414

1515
all: realall

0 commit comments

Comments
 (0)