Browse Source

Switch to -Ofast per default

tags/v1.1
Bernhard Fröhlich 4 years ago
parent
commit
3ad3783e4d
2 changed files with 2 additions and 2 deletions
  1. 2
    1
      Makefile
  2. 0
    1
      README.md

+ 2
- 1
Makefile View File

@@ -3,6 +3,7 @@
3 3
 #
4 4
 
5 5
 CC	?= cc
6
+LD	?= ld
6 7
 CFLAGS	+= -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -maes
7 8
 
8 9
 INSTALL	= install -c
@@ -24,7 +25,7 @@ CFLAGS	+= -g -Wall -Werror
24 25
 LDFLAGS	+= -pg
25 26
 else
26 27
 # for release
27
-CFLAGS	+= -O2
28
+CFLAGS	+= -Ofast
28 29
 endif
29 30
 
30 31
 # we need to link to libc/msvcrt

+ 0
- 1
README.md View File

@@ -60,5 +60,4 @@ H (2014)   | not supported (unknown key)
60 60
 - I/O write: write() + O_DIRECT + posix_memalign()
61 61
 - I/O read: fread(188) + setvbuf(32k+8, _IOFBF)
62 62
 - OpenMP for multiprocessing: #pragma omp parallel for schedule(static)
63
-- compiler flags https://software.intel.com/en-us/blogs/2012/09/26/gcc-x86-performance-hints
64 63
 

Loading…
Cancel
Save