diff options
Diffstat (limited to 'drivers/scsi/lpfc')
-rw-r--r-- | drivers/scsi/lpfc/Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/scsi/lpfc/Makefile b/drivers/scsi/lpfc/Makefile index ad05d6edb8f6..14de249917f8 100644 --- a/drivers/scsi/lpfc/Makefile +++ b/drivers/scsi/lpfc/Makefile | |||
@@ -19,10 +19,8 @@ | |||
19 | # *******************************************************************/ | 19 | # *******************************************************************/ |
20 | ###################################################################### | 20 | ###################################################################### |
21 | 21 | ||
22 | ifneq ($(GCOV),) | 22 | ccflags-$(GCOV) := -fprofile-arcs -ftest-coverage |
23 | EXTRA_CFLAGS += -fprofile-arcs -ftest-coverage | 23 | ccflags-$(GCOV) += -O0 |
24 | EXTRA_CFLAGS += -O0 | ||
25 | endif | ||
26 | 24 | ||
27 | obj-$(CONFIG_SCSI_LPFC) := lpfc.o | 25 | obj-$(CONFIG_SCSI_LPFC) := lpfc.o |
28 | 26 | ||