Code: Select all
BUILD_NUMBER_LDFLAGS = -D__BUILD_DATE=$$(date +'%Y%m%d')
BUILD_NUMBER_LDFLAGS += -D__BUILD_NUMBER=$$(cat $(build_number.txt))
BUILD_NUMBER_LDFLAGS += -D__BUILD_DESC=\"${CND_CONF}\"
Those are used to label builds in the CI system and generate reports, so it would be a significant hassle to do without them. But not fatal in the same way not being able to support both clang and gcc would be.
Also, I'm losing linker paths info: the executable generated isn't linked to some libraries even though they're in the linker path, and I can't see how to set a runtime library search path (because the libraries are not in the same place on the target machines (not least because we build for different OS's))