mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-05-19 22:01:49 +02:00
correctly change target at compile time
Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
parent
07ff165a8f
commit
9e580de53c
2 changed files with 9 additions and 0 deletions
libi2pd
|
@ -826,6 +826,7 @@ namespace data
|
|||
}
|
||||
|
||||
#if defined(__x86_64__) || defined(__i386__)
|
||||
#pragma GCC push_options
|
||||
#pragma GCC target("avx")
|
||||
#endif
|
||||
XORMetric operator^(const IdentHash& key1, const IdentHash& key2)
|
||||
|
@ -855,5 +856,9 @@ namespace data
|
|||
|
||||
return m;
|
||||
}
|
||||
#if defined(__x86_64__) || defined(__i386__)
|
||||
#pragma GCC pop_options
|
||||
#endif
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue