Commit Graph

55 Commits

Author SHA1 Message Date
happysalada
c19d8926fd tinycc: fix static build 2023-05-16 06:24:35 -04:00
Alyssa Ross
12d2821bf5
treewide: remove -ldl linker flags
With all libcs I'm aware of, libdl is now either empty (Glibc, musl,
uclibc, illumos), a symlink to libc or equivalent (Apple), or does not
exist (FreeBSD, NetBSD).  So explicitly linking libdl now does nothing
for the former platforms, and breaks the build for the latter
platforms.

With this patch I've removed -ldl from all overridden linker flags for
all free packages in Nixpkgs.  Everything still seems to build.
2023-01-23 15:34:53 +00:00
Weijia Wang
9144942aa3 tinycc: unbreak on x86_64-darwin 2023-01-02 23:33:08 +01:00
06kellyjac
4e427c9df0 tinycc: avoid replacing VERSION when it would cause errors
Still doesn't fix the general build of tinycc on darwin
2022-09-02 12:47:36 +01:00
Anderson Torres
b73f704a2f
Merge pull request #178567 from Artturin/pkgconfignew
makePkgconfigItem: init new function to generate pc files
2022-07-20 23:31:58 -03:00
Artturin
c6a9d069e9 tinycc: use makePkgconfigItem 2022-07-20 06:24:20 +03:00
AndersonTorres
7fda0dfa9a tinycc: 2022-01-11 -> 2022-07-15 2022-07-18 23:38:03 -03:00
Rick van Schijndel
0b45cae8a3
treewide: pkgs/development/compilers: mark broken for darwin 2022-05-30 13:41:09 +02:00
AndersonTorres
d852768538 tinycc: unstable-2021-10-09 -> 0.9.27+date=2022-01-11 2022-01-14 00:15:29 -03:00
Alexander Sosedkin
8eeae5320e
tinycc: simplify specifying cc/ar
Co-authored-by: Artturi <Artturin@artturin.com>
2021-10-17 19:30:47 +02:00
Alexander Sosedkin
9a5345698d tinycc: fix pkgsStatic.tinycc (musl) 2021-10-17 16:13:45 +02:00
Artturin
5ec9a816d2 tinycc: 0.9.27 -> unstable-2021-07-27
tinycc: enableParallelBuilding is causing tests to fail on some
architectures
disable it
2021-10-11 17:32:55 +03:00
Joachim Fasting
9377142fe1
tinycc: fixup perms for generated .pc file 2019-10-12 14:45:17 +02:00
Joachim Fasting
bb75bc9d42
tinycc: derive rev from version 2019-10-05 13:06:42 +02:00
Joachim Fasting
f73f525b72
tinycc: generate a pkgconfig file for libtcc 2019-10-05 13:06:41 +02:00
Joachim Fasting
8b1000432b
tinycc: parallel building 2019-10-05 13:06:40 +02:00
Joachim Fasting
06b4f4d46f
tinycc: minor refactorings 2019-10-05 13:06:39 +02:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Jörg Thalheim
1b146a8c6f
treewide: remove paxutils from stdenv
More then one year ago we removed grsecurity kernels from nixpkgs:
https://github.com/NixOS/nixpkgs/pull/25277

This removes now also paxutils from stdenv.
2018-12-22 12:55:05 +01:00
Joachim Fasting
3b367119ee
tinycc: 0.9.27pre-20171016 -> 0.9.27 2017-12-18 16:06:42 +01:00
Joachim Fasting
5c732e3c46
tinycc: 0.9.27pre-20170924 -> 0.9.27pre-20171016 2017-10-18 22:11:32 +02:00
Joachim Fasting
35c15d4a61
tinycc: 0.9.27pre-20170911 -> 0.9.27pre-20170924
Improves `long` handling
2017-09-28 03:06:11 +02:00
Joachim Fasting
3f7ac92175
tinycc: 0.9.27pre-20170821 -> 0.9.27pre-20170911
Contains various fixes.
2017-09-15 16:05:00 +02:00
Joachim Fasting
004463152a
tinycc: 0.9.27pre-20170710 -> 0.9.27pre-20170821 2017-09-02 22:38:06 +02:00
Joachim Fasting
cfc6e4471b
tinycc: 0.9.27pre-20170605 -> 0.9.27pre-20170710
Various CPP improvements/fixes
Support forward declaration of enums (GNU extension)
Initial implementation of C11 _Generic
2017-07-13 13:47:34 +02:00
Joachim Fasting
39f7530e47
tinycc: 0.9.27pre-20170527 -> 0.9.27pre-20170605
Contains further fix to x86_64 codegen (and some less relevant Windows
stuff).
2017-06-09 12:54:59 +02:00
Joachim Fasting
a50315d736
tinycc: 0.9.27pre-20170225 -> 0.9.27pre-20170527
Contains fixes for the x86_64 codegen [1]

[1]: https://lists.nongnu.org/archive/html/tinycc-devel/2017-05/msg00102.html
2017-05-27 23:22:50 +02:00
Joachim Fasting
3c37edb928
tinycc: 0.9.27pre-20170220 -> 20170225
Contains a fix for x86-64 asm gen and unified cross-compilation.
2017-03-12 18:56:59 +01:00
Joachim Fasting
3c178fe769
tinycc: restrict platforms to x86_64-linux 2017-03-01 00:28:29 +01:00
Joachim Fasting
bcdbd637fc
tinycc: 0.9.27pre-20170108 -> 20170220
tinycc has been relicensed to MIT.
2017-02-28 12:07:36 +01:00
Joachim Fasting
a9c347b9e3
tinycc: 20160525 -> 20170108
Per
https://www.mail-archive.com/tinycc-devel@nongnu.org/msg07274.html
http://repo.or.cz/tinycc.git/commit/77d7ea04acb56f839031993c102366e30cad5c25
onward ought to be fairly stable.
2017-02-09 16:22:57 +01:00
Tuomas Tynkkynen
a17216af4c treewide: Shuffle outputs
Make either 'bin' or 'out' the first output.
2016-08-29 14:49:51 +03:00
Robin Gloster
8031cba2ab Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-06-10 09:27:04 +00:00
Joachim Fasting
7bd515979c
tinycc: fix paxmark call
I missed this due to testing on a checkout that didn't contain
the paxmark fix ...
2016-06-09 23:06:01 +02:00
Joachim Fasting
ab9acc27f9
tinycc: 0.9.27pre-20160328 -> 0.9.27pre-20160525
Also do various refactorings:
- Use `fetchFromRepoOrCz`
- Use `isGlibc` to check for glibc stdenv
- Multiple outputs
- Apply PaX marking

Also adopt the package.
2016-06-03 18:59:42 +02:00
Tuomas Tynkkynen
bac26e08db Fix lots of fetchgit hashes (fallout from #15469) 2016-06-03 17:17:08 +03:00
Robin Gloster
d020caa5b2 Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-04-18 13:49:22 +00:00
Vladimír Čunát
d1df28f8e5 Merge 'staging' into closure-size
This is mainly to get the update of bootstrap tools.
Otherwise there were mysterious segfaults:
https://github.com/NixOS/nixpkgs/pull/7701#issuecomment-203389817
2016-04-07 14:40:51 +02:00
Robin Gloster
88b49cc748 tinycc: disable fortify hardening 2016-04-06 09:23:57 +00:00
Michael Raskin
cd87edce14 tinycc: 0.9.26 -> 0.9.27pre-20160328 (from git); apparently fixes the segfaults 2016-03-31 00:17:55 +02:00
Vladimír Čunát
3b9ef2c71b fix "libc}/lib" and similar references
Done mostly without any verification.
I didn't bother with libc}/include, as the path is still correct.
2015-05-05 11:52:08 +02:00
John Wiegley
28b6fb61e6 Change occurrences of gcc to the more general cc
This is done for the sake of Yosemite, which does not have gcc, and yet
this change is also compatible with Linux.
2014-12-26 11:06:21 -06:00
Bjørn Forsman
c9baba9212 Fix many package descriptions
(My OCD kicked in today...)

Remove repeated package names, capitalize first word, remove trailing
periods and move overlong descriptions to longDescription.

I also simplified some descriptions as well, when they were particularly
long or technical, often based on Arch Linux' package descriptions.

I've tried to stay away from generated expressions (and I think I
succeeded).

Some specifics worth mentioning:
 * cron, has "Vixie Cron" in its description. The "Vixie" part is not
   mentioned anywhere else. I kept it in a parenthesis at the end of the
   description.

 * ctags description started with "Exuberant Ctags ...", and the
   "exuberant" part is not mentioned elsewhere. Kept it in a parenthesis
   at the end of description.

 * nix has the description "The Nix Deployment System". Since that
   doesn't really say much what it is/does (especially after removing
   the package name!), I changed that to "Powerful package manager that
   makes package management reliable and reproducible" (borrowed from
   nixos.org).

 * Tons of "GNU Foo, Foo is a [the important bits]" descriptions
   is changed to just [the important bits]. If the package name doesn't
   contain GNU I don't think it's needed to say it in the description
   either.
2014-08-24 22:31:37 +02:00
Mateusz Kowalczyk
7a45996233 Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
Ludovic Courtès
2e937c437a unmaintain several packages 2013-08-16 23:45:01 +02:00
Lluís Batlle i Rossell
b10ab7a19a tinycc: updating it to 0.9.26
I simplified the expression a bit. And I renamed it to 'tcc'.
I think everyone calls it tcc.
2013-04-01 12:50:45 +02:00
Eelco Dolstra
ab3eeabfed Rename buildNativeInputs -> nativeBuildInputs
Likewise for propagatedBuildNativeInputs, etc.  "buildNativeInputs"
sounds like an imperative rather than a noun phrase.
2012-12-28 19:20:09 +01:00
Eelco Dolstra
c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00
Michael Raskin
a64122818f Cross-compiling TinyCC: move build helpers to buildNativeInputs
svn path=/nixpkgs/trunk/; revision=30277
2011-11-06 19:18:02 +00:00
Michael Raskin
3b49286bb2 Fix tarball evaluation
svn path=/nixpkgs/trunk/; revision=24304
2010-10-15 17:27:54 +00:00