Skip to content

Commit 771a7f5

Browse files
committed
tooling: Don't set default BUILD_TYPE in Makefile
1 parent fb4741f commit 771a7f5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Makefile.package

+5-1
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,12 @@ PACKAGE_FQN := ${PACKAGE_NAME}/${PACKAGE_VERSION}@${PACKAGE_CHANNEL}
6060
# only apply to local builds.
6161
#
6262
# This can be one of: None, Debug, Release, RelWithDebInfo, MinSizeRel
63-
BUILD_TYPE := RelWithDebInfo
63+
BUILD_TYPE :=
64+
ifneq "${BUILD_TYPE}" ""
6465
BUILD_TYPE_OPTION := -s ${PACKAGE_NAME}:build_type=${BUILD_TYPE}
66+
else
67+
BUILD_TYPE_OPTION :=
68+
endif
6569

6670
# These options can be set to influence package and configure.
6771
CONAN_OPTIONS :=

0 commit comments

Comments
 (0)