Skip to content

Commit

Permalink
Makefile.defs: enabled clang compile warning flags -Wunused-variable …
Browse files Browse the repository at this point in the history
…-Wuninitialized

(cherry picked from commit d63548d)
(cherry picked from commit 1252ae2)
  • Loading branch information
miconda committed Apr 3, 2019
1 parent 6a40d5e commit 038a44f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Makefile.defs
Expand Up @@ -1707,9 +1707,9 @@ else # no gcc
ifeq ($(CC_NAME), icc)
CFLAGS+= -Wall
else # no icc
ifeq ($(CC_NAME), suncc)
# FIXME: is the default (-Xa ?) enough?
endif # CC_NAME=suncc
ifeq ($(CC_NAME), clang)
CFLAGS+= -Wunused-variable -Wuninitialized
endif # CC_NAME=clang
endif # CC_NAME=icc
endif # CC_NAME=gcc

Expand Down

0 comments on commit 038a44f

Please sign in to comment.