summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJonas Suhr Christensen <jsc@umbraculum.org>2012-12-12 15:16:54 +0100
committerJonas Suhr Christensen <jsc@umbraculum.org>2012-12-12 15:16:54 +0100
commitfe903864590701f8e37c65b118bb0a907e797e56 (patch)
tree14ca0639f28c0a63625a8859ce7c405e16dc9a3a /Makefile
parentdb8615d88861dc31c7dbb00a3585921151de24e5 (diff)
Fixed compiling with -Wall and -Werror.
Removed debug_filter.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d28a183..89cf611 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
include Makefile.files
all:
- gcc ${DEBUG_SOURCES} main.c -o debug -DWITH_DBG_SYSLOG -DWITH_DBG_FILTER
+ g++ -Werror -Wall -D_FORTIFY_SOURCE=2 -g -O2 ${DEBUG_SOURCES} main.c -o debug -DWITH_DBG_SYSLOG -DWITH_DEBUG