Merge pull request #44275 from georgewhewell/fix-libgpg-error-cross
fix libgpg-error cross build on armv7
This commit is contained in:
commit
30b3f277b6
@ -34,6 +34,8 @@ in stdenv.mkDerivation (rec {
|
||||
|
||||
postPatch = ''
|
||||
sed '/BUILD_TIMESTAMP=/s/=.*/=1970-01-01T00:01+0000/' -i ./configure
|
||||
'' + lib.optionalString (stdenv.hostPlatform.isArm && stdenv.buildPlatform != stdenv.hostPlatform ) ''
|
||||
ln -s lock-obj-pub.arm-unknown-linux-gnueabi.h src/syscfg/lock-obj-pub.linux-gnueabihf.h
|
||||
'' + lib.optionalString stdenv.hostPlatform.isMusl ''
|
||||
ln -s lock-obj-pub.x86_64-pc-linux-musl.h src/syscfg/lock-obj-pub.linux-musl.h
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user