Code Review
/
deb_dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Imported Upstream version 16.11
[deb_dpdk.git]
/
drivers
/
net
/
qede
/
Makefile
diff --git
a/drivers/net/qede/Makefile
b/drivers/net/qede/Makefile
index
7965a83
..
29b443d
100644
(file)
--- a/
drivers/net/qede/Makefile
+++ b/
drivers/net/qede/Makefile
@@
-14,8
+14,6
@@
LIB = librte_pmd_qede.a
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
-LDLIBS += -lz
-
EXPORT_MAP := rte_pmd_qede_version.map
LIBABIVER := 1
EXPORT_MAP := rte_pmd_qede_version.map
LIBABIVER := 1
@@
-48,11
+46,11
@@
endif
endif
ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)
endif
ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)
-ifeq ($(shell
gcc -Wno-unused-but-set-variable -Werror -E - < /dev/null > /dev/null 2>&1; echo $$?),0
)
+ifeq ($(shell
test $(GCC_VERSION) -ge 44 && echo 1), 1
)
CFLAGS_BASE_DRIVER += -Wno-unused-but-set-variable
endif
CFLAGS_BASE_DRIVER += -Wno-missing-declarations
CFLAGS_BASE_DRIVER += -Wno-unused-but-set-variable
endif
CFLAGS_BASE_DRIVER += -Wno-missing-declarations
-ifeq ($(shell
gcc -Wno-maybe-uninitialized -Werror -E - < /dev/null > /dev/null 2>&1; echo $$?),0
)
+ifeq ($(shell
test $(GCC_VERSION) -ge 46 && echo 1), 1
)
CFLAGS_BASE_DRIVER += -Wno-maybe-uninitialized
endif
CFLAGS_BASE_DRIVER += -Wno-strict-prototypes
CFLAGS_BASE_DRIVER += -Wno-maybe-uninitialized
endif
CFLAGS_BASE_DRIVER += -Wno-strict-prototypes