defs.mk: Fix missing -dev in development version

- (Hopefully) fixed missing -dev in development version
  - Remove duplicate -D_DO_TRACE_
This commit is contained in:
Jan Lindemann 2007-06-17 13:01:37 +00:00 committed by Jan Lindemann
commit 46fa667cce

View file

@ -7,8 +7,9 @@
PROJECT ?= $(shell (cd $(TOPDIR); basename `pwd`))
PROJECT_DESCR ?= No description
CUSTOMER ?= No customer
VERSION ?= $(shell sed -e "s/-dev//" $(TOPDIR)/VERSION)
HEX_VERSION = $(shell echo $(VERSION) | \
VERSION ?= $(shell cat $(TOPDIR)/VERSION)
DIST_VERSION ?= $(shell sed -e "s/-dev//" $(TOPDIR)/VERSION)
HEX_VERSION = $(shell echo $(DIST_VERSION) | \
sed 's/-dev//; s/pre[^\.]*//; s/[\.-]/ /g' | xargs printf "0x%02x%02x%02x%02x")
DEVELOPMENT ?= $(shell grep -q 'dev' $(TOPDIR)/VERSION && echo true)
USE_PROJECT_LIB ?= true
@ -315,11 +316,6 @@ ifeq ($(USE_VALGRIND),true)
# LDFLAGS +=
endif
ifeq ($(USE_TRACING),true)
CFLAGS += -D_DO_TRACE_
CPPFLAGS += -D_DO_TRACE_
endif
ifeq ($(USE_STACK_PROTECTOR),true)
CFLAGS += -fstack-protector-all
# CFLAGS += -fstack-protector