projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
build: Add -Wunused-macros to CPPFLAGS on Linux.
[paraslash.git]
/
Makefile.real
diff --git
a/Makefile.real
b/Makefile.real
index c5d6405846d1afe50e5e6179058467c3f65fc9bd..1ceb3e96ad71802a64a18e65e729b2309e8694c8 100644
(file)
--- a/
Makefile.real
+++ b/
Makefile.real
@@
-110,6
+110,7
@@
LDFLAGS += $(clock_gettime_ldflags)
ifeq ($(uname_s),Linux)
# these cause warnings on *BSD
+ CPPFLAGS += -Wunused-macros
STRICT_CFLAGS += -fdata-sections -ffunction-sections
STRICT_CFLAGS += -Wstrict-prototypes
STRICT_CFLAGS += -Wshadow