mirror of
https://github.com/opnsense/src.git
synced 2026-07-16 12:33:07 -04:00
stand: Add compiler builtins needed by GCC for RISC-V
Reviewed by: mhorne Differential Revision: https://reviews.freebsd.org/D54963 (cherry picked from commit fe45651224bea513c7db88abbc53bd1241ab442f)
This commit is contained in:
parent
ec5370457e
commit
dadecd7293
1 changed files with 3 additions and 0 deletions
|
|
@ -66,6 +66,9 @@ SRCS+= clzsi2.c ctzsi2.c
|
|||
SRCS+= divmoddi4.c divmodsi4.c divdi3.c divsi3.c moddi3.c modsi3.c
|
||||
SRCS+= udivmoddi4.c udivmodsi4.c udivdi3.c udivsi3.c umoddi3.c umodsi3.c
|
||||
SRCS+= ashldi3.c ashrdi3.c lshrdi3.c
|
||||
.if ${MACHINE_CPUARCH} == "riscv"
|
||||
SRCS+= bswapdi2.c bswapsi2.c clzdi2.c ctzdi2.c
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_CPUARCH:Namd64:Ni386} == ""
|
||||
.PATH: ${SASRC}/x86
|
||||
|
|
|
|||
Loading…
Reference in a new issue