mirror of
https://github.com/SCST-project/scst.git
synced 2026-09-19 22:44:24 +00:00
Makefiles: Remove -Wextra
Since not all kernel header files are compatible with -Wextra, remove -Wextra. To enable -Wextra, build SCST with W=1. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9054 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
+1
-2
@@ -1,7 +1,6 @@
|
||||
# See also Documentation/core-api/symbol-namespaces.rst for more information
|
||||
# about DEFAULT_SYMBOL_NAMESPACE.
|
||||
ccflags-y += -I$(src)/../include $(call cc-option,-Wextra) \
|
||||
-Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare\
|
||||
ccflags-y += -I$(src)/../include\
|
||||
-DDEFAULT_SYMBOL_NAMESPACE=SCST\
|
||||
$(shell [ -n "${CONFIG_SCST_NO_DLM}" ] && echo -DCONFIG_SCST_NO_DLM)
|
||||
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
KBUILD_EXTRA_SYMBOLS=$(src)/../Module.symvers
|
||||
ccflags-y += -I$(src)/../../include \
|
||||
$(call cc-option,-Wextra) \
|
||||
-Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare
|
||||
ccflags-y += -I$(src)/../../include
|
||||
#ccflags-y += -DCONFIG_DEBUG_EXT_COPY_REMAP
|
||||
|
||||
obj-m := scst_cdrom.o scst_changer.o scst_disk.o scst_modisk.o scst_tape.o \
|
||||
|
||||
Reference in New Issue
Block a user