treewide: Make all the rest of configureFlags

This commit is contained in:
John Ericson
2018-08-03 17:06:03 -04:00
parent f92ed87372
commit f0d6b385d1
19 changed files with 49 additions and 30 deletions
+4 -3
View File
@@ -18,9 +18,10 @@ stdenv.mkDerivation {
sh autogen.sh
'';
configureFlags = if gccCross != null then
"--enable-firmware CROSS_COMPILE=${gccCross.targetPrefix}"
else "";
configureFlags = stdenv.lib.optionals (gccCross != null) [
"--enable-firmware"
"CROSS_COMPILE=${gccCross.targetPrefix}"
];
hardeningDisable = [ "pic" "stackprotector" ];