Skip to content

Commit e4c31ae

Browse files
committed
Use localPassc instead of passc.
1 parent 7db50db commit e4c31ae

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

nimcrypto/sha2/sha2_avx.nim

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
when defined(amd64):
2727
import "."/sha2_common
2828

29-
{.passC:"-msse2".}
29+
{.localPassc:"-msse2".}
3030

3131
when defined(vcc):
3232
{.pragma: x86type, bycopy, header:"<intrin.h>".}

nimcrypto/sha2/sha2_avx2.nim

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
when defined(amd64):
2727
import "."/[sha2_common, sha2_avx]
2828

29-
{.passC:"-mavx2".}
29+
{.localPassc:"-mavx2".}
3030

3131
when defined(vcc):
3232
{.pragma: x86type, bycopy, header:"<intrin.h>".}

nimcrypto/sha2/sha2_neon.nim

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
when defined(arm64):
2222
import "."/sha2_common
2323

24-
{.passC: "-march=armv8-a+crypto".}
24+
{.localPassc: "-march=armv8-a+crypto".}
2525
{.pragma: arm64type, bycopy, header:"<arm_neon.h>".}
2626
{.pragma: arm64proc, nodecl, header:"<arm_neon.h>".}
2727

nimcrypto/sha2/sha2_sha.nim

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
when defined(amd64):
2222
import "."/sha2_common
2323

24-
{.passC:"-msha".}
25-
{.passC:"-msse2".}
24+
{.localPassc:"-msha".}
25+
{.localPassc:"-msse2".}
2626

2727
when defined(vcc):
2828
{.pragma: x86type, bycopy, header:"<intrin.h>".}

0 commit comments

Comments
 (0)