diff options
-rw-r--r-- | drivers/scsi/lpfc/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/Makefile b/drivers/scsi/lpfc/Makefile index fe5d396aca73..e2516ba8ebfa 100644 --- a/drivers/scsi/lpfc/Makefile +++ b/drivers/scsi/lpfc/Makefile | |||
@@ -22,7 +22,9 @@ | |||
22 | ccflags-$(GCOV) := -fprofile-arcs -ftest-coverage | 22 | ccflags-$(GCOV) := -fprofile-arcs -ftest-coverage |
23 | ccflags-$(GCOV) += -O0 | 23 | ccflags-$(GCOV) += -O0 |
24 | 24 | ||
25 | ifdef WARNINGS_BECOME_ERRORS | ||
25 | ccflags-y += -Werror | 26 | ccflags-y += -Werror |
27 | endif | ||
26 | 28 | ||
27 | obj-$(CONFIG_SCSI_LPFC) := lpfc.o | 29 | obj-$(CONFIG_SCSI_LPFC) := lpfc.o |
28 | 30 | ||