projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Default to building native code
[fio.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index c25b4222e43729a2ca961718158470acaa807b52..19ba40a078703d58e77ab8f877b30fb86b6af384 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-31,6
+31,9
@@
SCRIPTS = $(addprefix $(SRCDIR)/,tools/fio_generate_plots tools/plot/fio2gnuplot
ifndef CONFIG_FIO_NO_OPT
CFLAGS += -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
endif
+ifdef CONFIG_BUILD_NATIVE
+ CFLAGS += -march=native
+endif
ifdef CONFIG_GFIO
PROGS += gfio