stargate-libcds: move env variable(s) into env for structuredAttrs
This commit is contained in:
@@ -17,7 +17,12 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
};
|
||||
|
||||
# Fix 'error: unrecognized command line option' in platforms other than x86
|
||||
PLAT_FLAGS = lib.optionalString stdenv.hostPlatform.isx86_64 "-mfpmath=sse -mssse3";
|
||||
env = lib.optionalAttrs stdenv.hostPlatform.isx86_64 {
|
||||
PLAT_FLAGS = toString [
|
||||
"-mfpmath=sse"
|
||||
"-mssse3"
|
||||
];
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Remove unnecessary tests (valgrind, coverage)
|
||||
|
||||
Reference in New Issue
Block a user