Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-06-23 | Apply OS checks to host platform, not build | Alyssa Ross | |
Previously, the build system used uname(1) output when it wanted to check the operating system it was being built for, which meant that it didn't take into-account cross-compilation when the build and host operating systems were different. To fix this, instead of consulting uname output, we consult the host triple, specifically the third "kernel" part. For "kernel"s with stable ABIs, like Linux or Cygwin, we can use a simple ifeq to test whether we're compiling for that system, but for other platforms, like Darwin, FreeBSD, or Solaris, we have to use a more complicated check to take into account the version numbers at the end of the "kernel"s. I couldn't find a way to just strip these version numbers in GNU Make without shelling out, which would be even more ugly IMO. Because these checks differ between kernels, and the patsubst ones are quite fiddly, I've added variables for each host OS we might want to check to make them easier to reuse. | |||
2021-01-06 | Make sodium a required dependency | Eelco Dolstra | |
2020-09-17 | Remove corepkgs/config.nix | Eelco Dolstra | |
This isn't used anywhere except in the configure script of the Perl bindings. I've changed the latter to use the C++ API's Settings object at runtime. | |||
2019-11-07 | Fix Perl bindings | Eelco Dolstra | |
2019-11-07 | Revert "autoconf: Allow overriding CFLAGS/CXXFLAGS from outside." | Eelco Dolstra | |
This reverts commit 717e821b99797845e1bef47d862f8cb0fb69cfc9. It's much more convenient to do 'make OPTIMIZE=0'. | |||
2019-07-03 | autoconf: Allow overriding CFLAGS/CXXFLAGS from outside. | Niklas Hambüchen | |
As is normal for autoconf-based projects. For example, it is a common use case to do ./configure CXXFLAGS=-O0 This did not work for nix until now, because the `CXXFLAGS=` declaration would unconditionally erase what the user had specified. The custom `OPTIMIZE` flag is removed, but the default `-O3` is retained; autoconf would default to `-g -O2` by default otherwise as documented on: https://www.gnu.org/software/autoconf/manual/autoconf-2.60/html_node/C-Compiler.html https://www.gnu.org/software/autoconf/manual/autoconf-2.60/html_node/C_002b_002b-Compiler.html | |||
2019-03-25 | perl/configure.ac: fix for new version location too | Will Dietz | |
2017-05-03 | perl-bindings: Remove unused --with-store-dir flag | Eelco Dolstra | |
2017-04-26 | Simplify building nix-perl in nix-shell | Eelco Dolstra | |
2017-04-11 | Drop WWW::Curl dependency | Eelco Dolstra | |
Somehow this came back after d1da6967b8891763ce04d668027cf300c9bbf0b2. | |||
2017-03-31 | Fix perl build | Eelco Dolstra | |
2017-02-07 | Add nix-perl package for the perl bindings | Shea Levy | |