FreeBSD fixes.

This commit is contained in:
Jan Vidar Krey
2009-03-16 22:49:55 +01:00
parent 7dc88bd23f
commit 008ec7c8df
3 changed files with 17 additions and 9 deletions

View File

@@ -15,7 +15,7 @@ BITS ?= AUTO
SILENT ?= YES
LDLIBS += -levent
TERSE ?= NO
STACK_PROTECT ?= NO
ifeq ($(OS), Windows_NT)
WINDOWS ?= YES
@@ -67,11 +67,16 @@ LDFLAGS += -L/source/libevent
-include release_setup.mk
ifeq ($(RELEASE),YES)
CFLAGS += -Os -DNDEBUG -fstack-protector-all
CFLAGS += -Os -DNDEBUG
else
CFLAGS += -g -DDEBUG -fstack-protector-all
CFLAGS += -g -DDEBUG
endif
ifeq ($(STACK_PROTECT),YES)
CFLAGS += -fstack-protector-all
endif
ifeq ($(PROFILING),YES)
CFLAGS += -pg
LDFLAGS += -pg