summaryrefslogtreecommitdiff
path: root/tools/mbench/Makefile
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2017-04-27 08:22:31 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2017-04-27 08:22:31 +0000
commitbc984cedb16f44a4247dcad4ab0219f4a9859dd4 (patch)
tree01b5599c308e62a881cd1066d42d9dd45173358f /tools/mbench/Makefile
parent165950336cd245d3585f0cba8aff0a25c5aacc43 (diff)
downloadmpfr-bc984cedb16f44a4247dcad4ab0219f4a9859dd4.tar.gz
better detection of rdtscp
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11437 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tools/mbench/Makefile')
-rw-r--r--tools/mbench/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/mbench/Makefile b/tools/mbench/Makefile
index bb264ea7a..02050ff9d 100644
--- a/tools/mbench/Makefile
+++ b/tools/mbench/Makefile
@@ -22,7 +22,8 @@ AR=ar
CC=gcc
CXX=g++
RANLIB=ranlib
-CFLAGS=-O2 -fomit-frame-pointer -Wall -g -static
+# added -march=native to CFLAGS to properly detect cpus
+CFLAGS=-O2 -fomit-frame-pointer -Wall -g -static -march=native
LDFLAGS=
RM=rm -f
CP=cp -f