Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
build
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
lf
build
Commits
35a91f3e
Commit
35a91f3e
authored
10 years ago
by
Michael Vines
Browse files
Options
Downloads
Patches
Plain Diff
Define DEBUG macro only when B2G_DEBUG is enabled
Change-Id: Iaa00507ae96a45724848051b8ef05c8a5efb078c CRs-Fixed: 809836
parent
dbd3bbed
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
xpcom.mk
+3
-2
3 additions, 2 deletions
xpcom.mk
with
3 additions
and
2 deletions
xpcom.mk
+
3
−
2
View file @
35a91f3e
...
...
@@ -44,8 +44,9 @@ LOCAL_CFLAGS += -Wno-invalid-offsetof
# via Android build system.
LOCAL_CFLAGS
+=
-Wno-error
=
non-virtual-dtor
-Wno-non-virtual-dtor
# Enable DEBUG for -eng builds to activate runtime assertions
ifneq
($(filter eng, $(TARGET_BUILD_VARIANT)),)
# Enable DEBUG macro to activate runtime assertions only if B2G_DEBUG is defined
# to a value other than 0
ifneq
(0,$(or $(strip $(B2G_DEBUG)),0)))
LOCAL_CFLAGS
+=
-DDEBUG
endif
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment