Browse code

Makefile.defs: enabled clang compile warning flags -Wunused-variable -Wuninitialized

(cherry picked from commit d63548dc311df5f2550e788fc026d9ec7c7dd2f4)

Daniel-Constantin Mierla authored on 02/10/2018 13:33:51
Showing 1 changed files
... ...
@@ -1707,9 +1707,9 @@ else # no gcc
1707 1707
 ifeq ($(CC_NAME), icc)
1708 1708
 		CFLAGS+= -Wall
1709 1709
 else # no icc
1710
-ifeq ($(CC_NAME), suncc)
1711
-		# FIXME: is the default (-Xa ?) enough?
1712
-endif # CC_NAME=suncc
1710
+ifeq ($(CC_NAME), clang)
1711
+		CFLAGS+= -Wunused-variable -Wuninitialized
1712
+endif # CC_NAME=clang
1713 1713
 endif # CC_NAME=icc
1714 1714
 endif # CC_NAME=gcc
1715 1715