Merge pull request #109052 from holymonson/bootstrap_cmds
darwin.bootstrap_cmds: update to 121
This commit is contained in:
commit
98cc48e3f7
|
@ -5,25 +5,14 @@ appleDerivation {
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
cd migcom.tproj
|
cd migcom.tproj
|
||||||
|
|
||||||
|
# redundant file, don't know why apple not removing it.
|
||||||
|
rm handler.c
|
||||||
|
|
||||||
yacc -d parser.y
|
yacc -d parser.y
|
||||||
flex --header-file=lexxer.yy.h -o lexxer.yy.c lexxer.l
|
flex --header-file=lexxer.yy.h -o lexxer.yy.c lexxer.l
|
||||||
|
|
||||||
cc -Os -pipe -DMIG_VERSION="" -Wall -mdynamic-no-pic -I. -c -o error.o error.c
|
cc -std=gnu99 -Os -dead_strip -DMIG_VERSION=\"$pname-$version\" -I. -o migcom *.c
|
||||||
cc -Os -pipe -DMIG_VERSION="" -Wall -mdynamic-no-pic -I. -c -o global.o global.c
|
|
||||||
cc -Os -pipe -DMIG_VERSION="" -Wall -mdynamic-no-pic -I. -c -o handler.o header.c
|
|
||||||
cc -Os -pipe -DMIG_VERSION="" -Wall -mdynamic-no-pic -I. -c -o header.o header.c
|
|
||||||
cc -Os -pipe -DMIG_VERSION="" -Wall -mdynamic-no-pic -I. -c -o mig.o mig.c
|
|
||||||
cc -Os -pipe -DMIG_VERSION="" -Wall -mdynamic-no-pic -I. -c -o routine.o routine.c
|
|
||||||
cc -Os -pipe -DMIG_VERSION="" -Wall -mdynamic-no-pic -I. -c -o server.o server.c
|
|
||||||
cc -Os -pipe -DMIG_VERSION="" -Wall -mdynamic-no-pic -I. -c -o statement.o statement.c
|
|
||||||
cc -Os -pipe -DMIG_VERSION="" -Wall -mdynamic-no-pic -I. -c -o string.o string.c
|
|
||||||
cc -Os -pipe -DMIG_VERSION="" -Wall -mdynamic-no-pic -I. -c -o type.o type.c
|
|
||||||
cc -Os -pipe -DMIG_VERSION="" -Wall -mdynamic-no-pic -I. -c -o user.o user.c
|
|
||||||
cc -Os -pipe -DMIG_VERSION="" -Wall -mdynamic-no-pic -I. -c -o utils.o utils.c
|
|
||||||
cc -Os -pipe -DMIG_VERSION="" -Wall -mdynamic-no-pic -I. -c -o lexxer.yy.o lexxer.yy.c
|
|
||||||
cc -Os -pipe -DMIG_VERSION="" -Wall -mdynamic-no-pic -I. -c -o y.tab.o y.tab.c
|
|
||||||
|
|
||||||
cc -dead_strip -o migcom error.o global.o header.o mig.o routine.o server.o statement.o string.o type.o user.o utils.o lexxer.yy.o y.tab.o
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
@ -42,8 +31,4 @@ appleDerivation {
|
||||||
--replace '/bin/rmdir' "rmdir" \
|
--replace '/bin/rmdir' "rmdir" \
|
||||||
--replace 'C=''${MIGCC}' "C=cc"
|
--replace 'C=''${MIGCC}' "C=cc"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
|
||||||
platforms = lib.platforms.darwin;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -158,8 +158,7 @@ let
|
||||||
in fetchApple' pname version sha256;
|
in fetchApple' pname version sha256;
|
||||||
|
|
||||||
appleDerivation' = pname: version: sdkName: sha256: attrs: stdenv.mkDerivation ({
|
appleDerivation' = pname: version: sdkName: sha256: attrs: stdenv.mkDerivation ({
|
||||||
inherit pname;
|
inherit pname version;
|
||||||
version = "${version}-${sdkName}";
|
|
||||||
|
|
||||||
src = if attrs ? srcs then null else (fetchApple' pname version sha256);
|
src = if attrs ? srcs then null else (fetchApple' pname version sha256);
|
||||||
|
|
||||||
|
@ -214,7 +213,6 @@ let
|
||||||
stubPackages = {
|
stubPackages = {
|
||||||
inherit (adv_cmds-boot) ps locale;
|
inherit (adv_cmds-boot) ps locale;
|
||||||
architecture = applePackage "architecture" "osx-10.11.6" "1pbpjcd7is69hn8y29i98ci0byik826if8gnp824ha92h90w0fq3" {};
|
architecture = applePackage "architecture" "osx-10.11.6" "1pbpjcd7is69hn8y29i98ci0byik826if8gnp824ha92h90w0fq3" {};
|
||||||
bootstrap_cmds = applePackage "bootstrap_cmds" "dev-tools-7.0" "1v5dv2q3af1xwj5kz0a5g54fd5dm6j4c9dd2g66n4kc44ixyrhp3" {};
|
|
||||||
bsdmake = applePackage "bsdmake" "dev-tools-3.2.6" "11a9kkhz5bfgi1i8kpdkis78lhc6b5vxmhd598fcdgra1jw4iac2" {};
|
bsdmake = applePackage "bsdmake" "dev-tools-3.2.6" "11a9kkhz5bfgi1i8kpdkis78lhc6b5vxmhd598fcdgra1jw4iac2" {};
|
||||||
CarbonHeaders = applePackage "CarbonHeaders" "osx-10.6.2" "1zam29847cxr6y9rnl76zqmkbac53nx0szmqm9w5p469a6wzjqar" {};
|
CarbonHeaders = applePackage "CarbonHeaders" "osx-10.6.2" "1zam29847cxr6y9rnl76zqmkbac53nx0szmqm9w5p469a6wzjqar" {};
|
||||||
CommonCrypto = applePackage "CommonCrypto" "osx-10.12.6" "0sgsqjcxbdm2g2zfpc50mzmk4b4ldyw7xvvkwiayhpczg1fga4ff" {};
|
CommonCrypto = applePackage "CommonCrypto" "osx-10.12.6" "0sgsqjcxbdm2g2zfpc50mzmk4b4ldyw7xvvkwiayhpczg1fga4ff" {};
|
||||||
|
|
Loading…
Reference in a new issue