Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
Beam Positoning Monitor - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Beam Positoning Monitor - Software
Commits
52c2f0f7
Commit
52c2f0f7
authored
Jan 12, 2016
by
Lucas Russo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
examples/Makefile: filter out gcc/clang basenames to suppress its warnings
parent
8a54c12c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Makefile
examples/Makefile
+2
-2
No files found.
examples/Makefile
View file @
52c2f0f7
...
...
@@ -38,11 +38,11 @@ CFLAGS_PLATFORM = -Wall -Wextra -Werror \
-Wno-missing-field-initializers
\
-Wno-missing-braces
ifeq
($(
CC),$(filter
$(CC
),gcc
cc))
ifeq
($(
notdir
$(CC)),$(filter
$(notdir
$(CC)
),gcc
cc))
CFLAGS_PLATFORM
+=
-Wno-cpp
endif
ifeq
($(
CC
),clang)
ifeq
($(
notdir
$(CC)
),clang)
CFLAGS_PLATFORM
+=
-Wno-error
=
\#
warnings
endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment