3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/build-support
Alyssa Ross bfc7aaa8af wrapCCWith: disable pic when building for Windows
According to <https://gcc.gnu.org/legacy-ml/gcc-patches/2015-08/msg00836.html>,
all code is position-independent on Windows.  Some compilers
apparently warn for -fPIC on Windows, and clang errors:

> clang-15: error: unsupported option '-fPIC' for target 'x86_64-pc-windows-msvc'

I'm guessing the check was hostPlatform instead of targetPlatform by mistake.
2023-04-28 10:01:22 +00:00
..
add-opengl-runpath
agda Merge remote-tracking branch 'origin/master' into haskell-updates 2023-02-18 21:56:57 +01:00
alternatives lapack: force a rebuild on x86_64-darwin 2023-03-24 08:57:05 +01:00
appimage tree-wide: buildFHSUserEnv -> buildFHSEnv 2023-04-16 10:15:13 +02:00
binary-cache Introduce mkBinaryCache function 2023-02-07 16:16:07 -08:00
bintools-wrapper gnatboot: rename to gnat-bootstrap 2023-04-15 18:52:14 -04:00
build-bazel-package buildBazelPackage: never append to fFetchAttrs.installPhase 2023-04-26 17:34:39 +02:00
build-fhsenv-bubblewrap buildFHSEnv: restrict pkgsi686Linux to x86_64-linux 2023-04-22 15:31:27 +03:00
build-fhsenv-chroot tree-wide: buildFHSUserEnv -> buildFHSEnv 2023-04-16 10:15:13 +02:00
build-graalvm-native-image buildGraalvmNativeImage: allow overwriting {build,install}Phase/nativeBuildInputs 2023-03-17 16:50:52 +00:00
build-setupcfg treewide: use lib.optionals 2023-02-14 19:11:59 +01:00
buildenv
cc-wrapper wrapCCWith: disable pic when building for Windows 2023-04-28 10:01:22 +00:00
coq treewide: deprecate isNull 2023-03-06 22:40:04 +01:00
dart/fetch-dart-deps flutter.buildFlutterApplication: Manually supply the dependency list 2023-04-23 00:12:45 +10:00
deterministic-uname deterministic-uname: add missing whitespace 2023-01-31 14:55:11 +02:00
dhall
docker nix-prefetch-docker: handle overrides correctly 2023-04-03 21:12:13 +03:00
dotnet Merge pull request #217587 from winterqt/build-dotnet-module-darwin-sandbox 2023-04-17 14:08:21 +00:00
emacs emacs: path fixes resulting from libgccjit changes 2023-04-02 13:49:54 -07:00
expand-response-params
fake-nss
fetchbitbucket
fetchbower
fetchbzr fetchbzr: set cache directory to tmpdir 2023-03-01 04:20:00 +00:00
fetchcvs treewide: remove usages of header and stopNest 2023-01-16 00:08:12 +02:00
fetchdarcs Merge pull request #205115 from hraban/fetchdarcs-by-hash 2023-03-14 01:25:22 +01:00
fetchdocker treewide: don't hardcode /nix/store (no rebuilds changes) 2023-03-24 20:11:33 +02:00
fetchfirefoxaddon treewide: remove usages of header and stopNest 2023-01-16 00:08:12 +02:00
fetchfossil treewide: use optionalString 2023-02-13 21:52:34 +01:00
fetchgit Merge pull request #187210 from pinn3/fetchgit/remove-outdated-comment 2023-04-19 03:49:19 +03:00
fetchgitea
fetchgithub
fetchgitiles
fetchgitlab
fetchgitlocal
fetchgx
fetchhg fetchhg: allow specifying (sri) hash 2023-04-03 12:40:35 +02:00
fetchipfs
fetchmavenartifact fetchMavenArtifact: deprecate phases & use pname+version 2023-03-26 18:44:55 +02:00
fetchmtn treewide: remove usages of header and stopNest 2023-01-16 00:08:12 +02:00
fetchnextcloudapp
fetchpatch fetchpatch: add decode test 2023-03-11 21:39:29 +00:00
fetchpypi fetchPypi: move to top level 2023-01-21 08:21:33 +01:00
fetchrepoorcz
fetchrepoproject
fetchs3
fetchsavannah
fetchsourcehut
fetchsvn treewide: remove usages of header and stopNest 2023-01-16 00:08:12 +02:00
fetchsvnrevision
fetchsvnssh treewide: remove usages of header and stopNest 2023-01-16 00:08:12 +02:00
fetchurl rPackages: switch to official CRAN mirrors 2023-04-05 13:25:06 +10:00
fetchzip
flutter flutter.buildFlutterApplication: Add an option to generate the dependency list with IFD 2023-04-23 00:32:24 +10:00
go buildGoModule: don't inherit build hooks when building go-modules (#225349) 2023-04-22 11:08:54 +10:00
icon-conv-tools
install-shell-files
java
kernel systemd-initrd: Fix up root directory mode 2023-04-11 15:20:47 -04:00
libredirect libredirect: fix build on musl libc 2023-02-06 10:18:52 -08:00
make-darwin-bundle
make-desktopitem treewide: deprecate isNull 2023-03-06 22:40:04 +01:00
make-hardcode-gsettings-patch makeHardcodeGsettingsPatch: Support other constructors 2022-12-19 17:38:57 +01:00
make-pkgconfigitem makePkgconfigItem: fix cross 2022-12-30 14:51:17 +02:00
make-startupitem
mkshell mkShell: set preferLocalBuild by default 2023-02-22 11:53:51 +01:00
mono-dll-fixer
nix-gitignore
node prefetch-npm-deps: fix clippy lint 2023-04-06 11:32:47 -04:00
nuke-references treewide: use optionalString 2023-02-13 21:52:34 +01:00
ocaml buildDunePackage: use --mandir instead of --man 2023-03-28 11:07:28 -07:00
oci-tools
pkg-config-wrapper Merge pull request #207294 from happyalu/staging 2023-01-24 00:02:25 +01:00
portable-service
prefer-remote-fetch
references-by-popularity
release treewide: don't hardcode /nix/store (no rebuilds changes) 2023-03-24 20:11:33 +02:00
remove-references-to
replace-secret
rust rustc,rustPlatform.buildRustPackage: broaden platforms 2023-04-25 08:27:59 +00:00
setup-hooks Merge staging-next into staging 2023-04-25 18:01:56 +00:00
singularity-tools apptainer, singularity: fix defaultPath and reflect upstream changes 2023-02-08 18:03:11 +08:00
snap
src-only srcOnly: prevent phases being skipped 2023-01-06 19:02:50 +01:00
substitute
substitute-files
templaterpm
testers meta.pkgConfigModules: Init convention 2023-02-03 09:37:31 -05:00
trivial-builders trivial-builders/test/references.nix: fix eval 2023-04-02 03:04:20 -07:00
vm build-support/vm/deb/deb-closure: quote generated urls 2023-02-20 01:38:31 +01:00
wrapper-common
writers writers: fix aarch64-darwin workaround if content is a string 2023-03-29 03:29:13 +02:00
build-maven.nix
build-pecl.nix feat: add passthru flags in PHP extension builder 2022-12-29 18:19:12 +01:00
closure-info.nix
make-impure-test.nix
plugins.nix
replace-dependency.nix replaceDependency: use runCommandLocal 2023-03-01 14:36:49 +02:00
setup-systemd-units.nix
source-from-head-fun.nix
trivial-builders.nix requireFile: allow using hash instead of sha256/sha1 2023-04-22 16:02:34 +01:00