mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
gnu: tcc-musl: Update build flags for multiple architectures.
* gnu/packages/commencement.scm (tcc-musl)[arguments]: Adjust the custom 'build phase to provide necessary architecture specific flags. Change-Id: I1e506cceae26f8a24336d36f94211d9a8923c491
This commit is contained in:
parent
94eec58b5d
commit
00dd6c498e
1 changed files with 9 additions and 2 deletions
|
|
@ -1087,8 +1087,15 @@ MesCC-Tools), and finally M2-Planet.")
|
|||
"tcc"
|
||||
"-g"
|
||||
"-vvv"
|
||||
"-D" "REG_PC=0"
|
||||
"-D" "REG_S0=8"
|
||||
;; Some missed bits from musl in arch/$ARCH/bits/signal.h
|
||||
#$@(cond
|
||||
((target-riscv64?)
|
||||
#~("-D" "REG_PC=0"
|
||||
"-D" "REG_S0=8"))
|
||||
((target-x86-64?)
|
||||
#~("-D" "REG_EBP=6"
|
||||
"-D" "REG_EIP=14"))
|
||||
(#t #~()))
|
||||
"-D" "ONE_SOURCE=1"
|
||||
"-D" "TCC_VERSION=\"0.9.28rc\""
|
||||
"-D" "CONFIG_TCC_STATIC=1"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue