Commit 0f96e5a8 authored by waja's avatar waja
Browse files

d/rules: don't touch opmimisations cflags directly

parent 187c4cbd
......@@ -14,12 +14,6 @@ LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
CFLAGS += -D_BSD_SOURCE -Wall -g
LDLIBS += -lpcap -lpthread -lm
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
else
CFLAGS += -O2
endif
build: build-arch build-indep
build-arch: build-stamp
build-indep: build-stamp
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment