Commit Graph

12 Commits

Author SHA1 Message Date
Robin Gloster
1b979d8384 Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-08-03 13:34:44 +00:00
Tuomas Tynkkynen
21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00
Franz Pletz
aff1f4ab94 Use general hardening flag toggle lists
The following parameters are now available:

  * hardeningDisable
    To disable specific hardening flags
  * hardeningEnable
    To enable specific hardening flags

Only the cc-wrapper supports this right now, but these may be reused by
other wrappers, builders or setup hooks.

cc-wrapper supports the following flags:

  * fortify
  * stackprotector
  * pie (disabled by default)
  * pic
  * strictoverflow
  * format
  * relro
  * bindnow
2016-03-05 18:55:26 +01:00
Robin Gloster
08caf7b6e4 librsync_0_9: turn off format hardening 2016-02-07 15:27:57 +00:00
Mitch Tishmack
01fe47c78b librsync needs --std=gnu89 due to use of inline, fixes #11211
Without this, if compiled with clang, all static functions do not end
up in the resultant shared library due to clang defaulting to c99.

The simple fix is to adjust CFLAGS, otherwise one needs to patch
a lot of inline's away needlessly.
2015-11-30 14:43:07 +01:00
Luca Bruno
a0dcd49bbc btar: fix build by reintroducing librsync 0.9.x for ZHF 2015-04-16 17:59:33 +02:00
William A. Kennington III
0a8efb537b librsync: 0.9.7 -> 1.0.0 2015-03-26 16:52:41 -07:00
Mateusz Kowalczyk
7a45996233 Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
Lluís Batlle i Rossell
d40123a247 Making librsync not stripped by native strip; it breaks the static lib.
It's the case of mingw64 by default, it seems.


svn path=/nixpkgs/trunk/; revision=34248
2012-05-25 17:52:45 +00:00
Lluís Batlle i Rossell
99fb5689f7 Setting static build for librsync on cygwin.
svn path=/nixpkgs/trunk/; revision=30822
2011-12-10 22:14:08 +00:00
Eelco Dolstra
f2b0c5a6fa * librsync: pass --enable-shared to get shared libraries. Then the
-fPIC flag is no longer needed.

svn path=/nixpkgs/trunk/; revision=19949
2010-02-12 12:27:48 +00:00
Lluís Batlle i Rossell
c83ce140e1 Adding 'duplicity', and its dependency 'librsync'
svn path=/nixpkgs/trunk/; revision=19813
2010-02-04 13:42:41 +00:00