tzdata: use nativePrefix for zic-native
would not be able to run the install phase for a cross compile otherwise
This commit is contained in:
parent
013b2ccdb0
commit
a65208ca8e
@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
|
|||||||
preInstall = ''
|
preInstall = ''
|
||||||
mv zic.o zic.o.orig
|
mv zic.o zic.o.orig
|
||||||
mv zic zic.orig
|
mv zic zic.orig
|
||||||
make $makeFlags cc=${stdenv.cc.targetPrefix}cc AR=${stdenv.cc.targetPrefix}ar zic
|
make $makeFlags cc=${stdenv.cc.nativePrefix}cc AR=${stdenv.cc.nativePrefix}ar zic
|
||||||
mv zic zic-native
|
mv zic zic-native
|
||||||
mv zic.o.orig zic.o
|
mv zic.o.orig zic.o
|
||||||
mv zic.orig zic
|
mv zic.orig zic
|
||||||
|
Loading…
Reference in New Issue
Block a user