lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

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.

authored by

Mitch Tishmack and committed by
Rok Garbas
01fe47c7 7f7b0dc3

+3 -1
+3 -1
pkgs/development/libraries/librsync/default.nix
··· 3 3 stdenv.mkDerivation rec { 4 4 name = "librsync-${version}"; 5 5 version = "1.0.0"; 6 - 6 + 7 7 src = fetchFromGitHub { 8 8 owner = "librsync"; 9 9 repo = "librsync"; ··· 14 14 buildInputs = [ autoreconfHook perl zlib bzip2 popt ]; 15 15 16 16 configureFlags = if stdenv.isCygwin then "--enable-static" else "--enable-shared"; 17 + 18 + CFLAGS = "-std=gnu89"; 17 19 18 20 crossAttrs = { 19 21 dontStrip = true;