volk: remove gcc wrapper
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
python3,
|
||||
removeReferencesTo,
|
||||
enableModTool ? true,
|
||||
}:
|
||||
|
||||
@@ -25,8 +26,17 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
cmake
|
||||
python3
|
||||
python3.pkgs.mako
|
||||
removeReferencesTo
|
||||
];
|
||||
|
||||
# Don't embed the path to stdenv.cc in the output, see:
|
||||
#
|
||||
# - https://github.com/gnuradio/volk/blob/v3.2.0/lib/constants.c.in#L37-L41
|
||||
# - https://github.com/gnuradio/volk/blob/v3.2.0/lib/CMakeLists.txt#L403-L405
|
||||
postInstall = ''
|
||||
remove-references-to -t ${stdenv.cc} $(readlink -f "''${!outputLib}"/lib/libvolk${stdenv.hostPlatform.extensions.sharedLibrary})
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user