From: Olivier Matz <olivier.matz@6wind.com>
To: dev@dpdk.org
Subject: [dpdk-dev] [memnic PATCH] pmd: enable compiler optimization
Date: Fri, 7 Feb 2014 13:57:56 +0100 [thread overview]
Message-ID: <1391777876-6979-1-git-send-email-olivier.matz@6wind.com> (raw)
Add -O3 in flags, it was missing in initial Makefile.
Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
---
pmd/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pmd/Makefile b/pmd/Makefile
index 7f96af1..c22f69f 100644
--- a/pmd/Makefile
+++ b/pmd/Makefile
@@ -39,7 +39,7 @@ O ?= .
CC = $(CROSS)gcc
override CPPFLAGS += -Wall -Wextra -Werror
-override CFLAGS += -fPIC
+override CFLAGS += -fPIC -O3
override LDFLAGS += -shared
prefix ?= /usr/local
--
1.8.5.3
next reply other threads:[~2014-02-07 12:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-07 12:57 Olivier Matz [this message]
2014-03-19 10:19 ` Hiroshi Shimamoto
2014-03-21 15:00 ` Thomas Monjalon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1391777876-6979-1-git-send-email-olivier.matz@6wind.com \
--to=olivier.matz@6wind.com \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).