mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-25 18:40:19 -04:00
Optimize hash performance with custom compiler flags
This commit is contained in:
parent
426f6dc0bc
commit
f0ae584473
1 changed files with 3 additions and 0 deletions
|
|
@ -219,6 +219,9 @@ $(CLI_PREFIX)touch.$(OBJEXT): $(CLI_INCLUDES)
|
|||
$(CLI_PREFIX)unixapp.$(OBJEXT): $(CLI_INCLUDES)
|
||||
$(CLI_PREFIX)util.$(OBJEXT): $(CLI_INCLUDES)
|
||||
|
||||
# Use -O3 -funroll-loops to optimize the hash implementations included by util.c
|
||||
$(CLI_PREFIX)util.$(OBJEXT): CFLAGS += -O3 -funroll-loops
|
||||
|
||||
# Add the .version file in the distribution
|
||||
dist-hook:
|
||||
$(srcdir)/autover.sh > $(distdir)/.version
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue