Merge pull request #108573 from LumiGuide/fix-armstubs
raspberrypi-armstubs: fix native compilation on armv7l
This commit is contained in:
commit
231b166b12
|
@ -27,10 +27,10 @@ stdenv.mkDerivation {
|
|||
"LD8=${stdenv.cc.targetPrefix}ld"
|
||||
"OBJCOPY8=${stdenv.cc.targetPrefix}objcopy"
|
||||
"OBJDUMP8=${stdenv.cc.targetPrefix}objdump"
|
||||
"CC=${stdenv.cc.targetPrefix}cc"
|
||||
"LD=${stdenv.cc.targetPrefix}ld"
|
||||
"OBJCOPY=${stdenv.cc.targetPrefix}objcopy"
|
||||
"OBJDUMP=${stdenv.cc.targetPrefix}objdump"
|
||||
"CC7=${stdenv.cc.targetPrefix}cc"
|
||||
"LD7=${stdenv.cc.targetPrefix}ld"
|
||||
"OBJCOPY7=${stdenv.cc.targetPrefix}objcopy"
|
||||
"OBJDUMP7=${stdenv.cc.targetPrefix}objdump"
|
||||
]
|
||||
++ optionals (stdenv.isAarch64) [ "armstub8.bin" "armstub8-gic.bin" ]
|
||||
++ optionals (stdenv.isAarch32) [ "armstub7.bin" "armstub8-32.bin" "armstub8-32-gic.bin" ]
|
||||
|
|
Loading…
Reference in a new issue