d/rules: don't touch opmimisations cflags directly
This commit is contained in:
parent
187c4cbd7d
commit
0f96e5a8ef
6
debian/rules
vendored
6
debian/rules
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue