3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/build-support
Adam Joseph dfa3f14493 cc-wrapper: -march= is not allowed on powerpc
Gcc does not allow `-march=` on PowerPC:

  https://gcc.gnu.org/onlinedocs/gcc-12.2.0/gcc/RS_002f6000-and-PowerPC-Options.html#RS_002f6000-and-PowerPC-Options

Instead, `-mcpu=` should be used to set the minimum instruction set
and `-mtune=` is used to optimize instruction scheduling for a
specific processor.  Both flags take the same set of valid values,
which includes `native`.

This commit causes `isGccArchSupported` to return `false` for PowerPC
targets so we never pass an `-march=` flag, since that will always be
rejected by gcc.
2023-01-10 14:05:03 +01:00
..
add-opengl-runpath
agda
alternatives
appimage Merge pull request #203598 from symphorien/appimage-owd 2022-12-02 20:12:49 +00:00
bintools-wrapper bintools-wrapper: add dlltool, dllwrap, windmc, and windres 2022-12-03 00:28:59 +01:00
build-bazel-package buildBazelPackage: optionally run bazel tests in checkPhase 2022-10-03 12:52:57 +02:00
build-fhs-userenv
build-fhs-userenv-bubblewrap FHSEnv: export /etc/shells 2022-10-18 22:59:26 -07:00
build-graalvm-native-image
build-setupcfg
buildenv
cc-wrapper cc-wrapper: -march= is not allowed on powerpc 2023-01-10 14:05:03 +01:00
coq coqPackages.mkCoqDerivation: upgrade to Dune 3 2022-10-02 14:42:28 +02:00
dhall
docker dockerTools: make gzipped docker images faster to update by rsync 2022-12-23 13:22:16 +01:00
dotnet build-dotnet-module: fix mktemp 2023-01-09 17:33:10 +01:00
emacs emacs: remove warning of xargs when doing AOT native-comp 2022-10-04 02:53:55 +08:00
expand-response-params
fake-nss fake-nss: Add support for extra passwd and group lines 2022-10-04 00:05:34 +02:00
fetchbitbucket
fetchbower
fetchbzr
fetchcvs
fetchdarcs
fetchdocker
fetchfirefoxaddon treewide: fix typos 2022-12-17 19:39:44 -05:00
fetchfossil
fetchgit fetchgit: make sparseCheckout a list of strings 2022-11-15 19:45:33 +01:00
fetchgitea
fetchgithub fetchGitHub: inherit owner and repo for use with rocmUpdateScript 2022-12-10 13:35:47 -06:00
fetchgitiles
fetchgitlab fetchFromGitLab: don't passthruAttrs fetchGit specific attrs to fetchUrl 2022-10-29 19:12:07 +03:00
fetchgitlocal
fetchgx
fetchhg
fetchipfs
fetchmavenartifact lib.replaceChars: warn about being a deprecated alias 2022-12-15 22:25:51 +02:00
fetchmtn
fetchnextcloudapp fetchNextcloudApp: rewrite with fetchzip & applyPatches 2022-09-26 20:32:33 +02:00
fetchpatch
fetchrepoorcz
fetchrepoproject
fetchs3
fetchsavannah
fetchsourcehut
fetchsvn
fetchsvnrevision
fetchsvnssh
fetchurl tests.fetchurl: remove alias usage 2022-11-24 22:32:34 +02:00
fetchzip Merge pull request #191355 from GenericNerdyUsername/fetchzip-include-hidden 2022-12-16 18:08:36 +01:00
flutter treewide: {build,host,target}Platform -> stdenv.{build,host,target}Platform 2023-01-09 21:13:22 +02:00
go buildGo{module,package}: do not build with verbose flags 2022-12-04 16:42:53 +01:00
icon-conv-tools
install-shell-files
java
kernel splice.nix: start deprecating nativeDrv and crossDrv 2022-11-19 00:04:54 +02:00
libredirect
make-darwin-bundle
make-desktopitem
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: refactor Bash snippet 2022-12-07 01:25:48 +01:00
mono-dll-fixer
nix-gitignore
node treewide: fix error: attribute 'runtimeShell' missing 2022-12-22 20:50:27 +02:00
nuke-references
ocaml ocamlPackages.buildOcaml: remove 2022-10-25 09:40:57 +02:00
oci-tools
pkg-config-wrapper
portable-service portableService: tooling to create portable service images 2022-09-22 20:11:25 +02:00
prefer-remote-fetch
references-by-popularity dockerTools: prefer local builds 2022-11-18 09:31:53 -05:00
release treewide: fix typos 2022-12-17 19:39:44 -05:00
remove-references-to removeReferencesTo: kill lone hashes 2022-08-25 17:25:58 +02:00
replace-secret
rust Merge pull request #209816 from Artturin/deprecate-top-level-platform-aliases 2023-01-09 22:15:50 +02:00
setup-hooks Merge pull request #182055 from wentasah/moveToOutput-comment-fix 2022-11-18 22:40:50 +00:00
singularity-tools
snap
src-only srcOnly: prevent phases being skipped 2023-01-06 19:02:50 +01:00
substitute
substitute-files
templaterpm
testers testers.testBuildFailure: Read last log line without final newline 2022-12-02 16:12:50 +00:00
trivial-builders tests.trivial-builders.linkFarm: init 2022-11-15 11:47:36 -05:00
vm vmTools: add ubuntu 22.04 2022-12-26 10:58:52 +00:00
wrapper-common build-support: Quote expansions inside ${…} 2022-12-02 04:59:43 -05:00
writers writers: fix typo in comment 2023-01-05 20:26:25 -08: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 makeImpureTest: init function for hardware tests 2022-11-22 16:54:32 +01:00
plugins.nix
replace-dependency.nix
setup-systemd-units.nix
source-from-head-fun.nix
trivial-builders.nix build-support: order comments above corresponding line 2022-12-19 08:47:54 +01:00