urbit/nix/nixcrpkgs/pkgs/hello_cpp/builder.sh
benjamin-tlon edd57d380d
Finish cc-release cross-compilation. (#1202)
- Fixes the IPC bug
- Fixes the terminfo bug
- Moves the OSX SDK out of our nixcrpkgs fork.
- Vendor nixcrpkgs instead of having it be a submodule.
2019-04-23 19:50:38 -07:00

9 lines
102 B
Bash

. $setup
$host-g++ $src_file -o hello$exe_suffix
mkdir -p $out/bin/
cp hello$exe_suffix $out/bin/