From nobody Tue Apr 19 12:09:30 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id F0A5311E5045; Tue, 19 Apr 2022 12:09:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KjMzv2NKYz3qmZ; Tue, 19 Apr 2022 12:09:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650370171; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=npCXqPruUM50paQc2EFsq4XJFBcqsZMhlPGxr7Gb/ko=; b=UgzZOwIjpiwA98SeHccXSZpKbeQJq6lyRgj9zMIacX5Cm0Pk5Zsjz98DoEfAm7bAkyy/dO VJDCdq8TGCT06BiPN9APwCaS2CGuDYQpuUrbiB1oKgnTUqJO4qd6FdiVvDfWmrCgcdgUPW b5Ft+DC3pORSxbWDIW7C3SSOUBWaMHTPuLpWZvR5aaVCsGl0Bh75VQJFwUCYRiRk0GBxpc NLXXeYb32bFjubA8T3kUP7xxuWH794kZOJbXKpTugpN70NdgAuU1YzUogBfXbDUnWplH6j nUVmiv2Ano2FHPxXNiMy7CL0qr5sfUQHl8pKsX8dPKibIZpybDkHWhIOxTFpwg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 14E1326FB0; Tue, 19 Apr 2022 12:09:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 23JC9UHh076537; Tue, 19 Apr 2022 12:09:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23JC9U4S076536; Tue, 19 Apr 2022 12:09:30 GMT (envelope-from git) Date: Tue, 19 Apr 2022 12:09:30 GMT Message-Id: <202204191209.23JC9U4S076536@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: 85a16842b1c5 - main - Mk/Uses/cargo.mk: set correct target CPU on powerpc List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 85a16842b1c5958428b6c39582630545ee481906 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650370171; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=npCXqPruUM50paQc2EFsq4XJFBcqsZMhlPGxr7Gb/ko=; b=yCzdXGzKKtz9tQ5ujkeZxbU8gBAn5vmQES8fnDoXvn45aKpmWDebubVYYN5zUiOTYqUSP8 0JJ6l3V1aYAixOF0glLojpJtBZeV8zfMb3HoMf9LAXJ1q0ZNbo9kUN+VSctxu+Lp9vEsAx /QLeRiRDyfLz0pfTHUmiXo90KavMNko7xwODYAbL6IGBi19dIazQmFLtD3aMIihhNsJTbm oP3PUXWVfhOwv1x4aQBD5wDnxOCFVDakpvcixnTa+suh4JbUt2k8mDiU024W/DyzQ7/TMZ E1FUB4jaGtiYAuBR716TX1OLxrggm7gVageIzMPrj8/pwoP6mFOWbhDI7a5idQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650370171; a=rsa-sha256; cv=none; b=socbrfZCyFl7ZIp9OIbGO+20cQRlMwK8Hh45HdTTqB35GghRm0lVXELfiwmxVkP25F0Pwf WTY/EQcM2P/q6CcyZz28X0AIjV5wFIRYH/9Je20ZpzR71on23cay+eAie9QiAlESADdf/8 1sCPJO2AE1pNxF8VDwfOuVgHGGQeWQ8mNyefNXys8O+5VGylEGe9sCseqcdndVRCEFbRD1 4fxePKezfsagt4a2I92qAREGNZmIeRRj6REFKnMHRuqw8nMNYIA+TzXjJQgPVJDzKwldm8 45HVnwIXO5UVT495WA4Dd92XETPTLEHZxPkLp7JpkDnp5btWfQIz2UZeezAw2w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=85a16842b1c5958428b6c39582630545ee481906 commit 85a16842b1c5958428b6c39582630545ee481906 Author: Piotr Kubaj AuthorDate: 2022-04-18 21:32:13 +0000 Commit: Piotr Kubaj CommitDate: 2022-04-19 12:09:16 +0000 Mk/Uses/cargo.mk: set correct target CPU on powerpc --- Mk/Uses/cargo.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mk/Uses/cargo.mk b/Mk/Uses/cargo.mk index 7f3e669169bc..f73ab923cff8 100644 --- a/Mk/Uses/cargo.mk +++ b/Mk/Uses/cargo.mk @@ -140,7 +140,7 @@ CARGO_ENV+= RUST_BACKTRACE=1 # Adjust -C target-cpu if -march/-mcpu is set by bsd.cpu.mk .if ${ARCH} == amd64 || ${ARCH} == i386 RUSTFLAGS+= ${CFLAGS:M-march=*:S/-march=/-C target-cpu=/} -.elif ${ARCH:Mpowerpc64*} +.elif ${ARCH:Mpowerpc*} RUSTFLAGS+= ${CFLAGS:M-mcpu=*:S/-mcpu=/-C target-cpu=/:S/power/pwr/} .else RUSTFLAGS+= ${CFLAGS:M-mcpu=*:S/-mcpu=/-C target-cpu=/}