projects
/
l2tpns.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: compiling Warning, dpkg-buildflags ...
[l2tpns.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
29799e4
..
fb12741
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-10,14
+10,16
@@
DEFINES =
DEFINES += -DLIBDIR='"$(libdir)"'
DEFINES += -DETCDIR='"$(etcdir)"'
DEFINES += -DLIBDIR='"$(libdir)"'
DEFINES += -DETCDIR='"$(etcdir)"'
-DEB_CFLAGS_MAINT_APPEND=-Wall -O3 -Wno-format-zero-length
+OPTIM =
+OPTIM += -g
+OPTIM += -O3
CC = gcc
LD = gcc
INCLUDES = -I.
CC = gcc
LD = gcc
INCLUDES = -I.
-CPPFLAGS =
`dpkg-buildflags --get CPPFLAGS`
$(INCLUDES) $(DEFINES)
-CFLAGS =
`dpkg-buildflags --get CFLAGS`
-LDFLAGS =
`dpkg-buildflags --get LDFLAGS`
+CPPFLAGS = $(INCLUDES) $(DEFINES)
+CFLAGS =
-Wall -Wformat-security $(OPTIM)
+LDFLAGS =
LDLIBS =
INSTALL = install -c -D -o root -g root
LDLIBS =
INSTALL = install -c -D -o root -g root