mirror of
https://github.com/uutils/coreutils.git
synced 2025-07-07 13:35:00 +00:00
Revert "GNUMakefile: fix compilation on Macs"
This commit is contained in:
parent
4128efad0f
commit
14caaad7ef
2 changed files with 0 additions and 16 deletions
2
.github/workflows/CICD.yml
vendored
2
.github/workflows/CICD.yml
vendored
|
@ -526,8 +526,6 @@ jobs:
|
||||||
- { os: ubuntu-latest , target: x86_64-unknown-redox , features: feat_os_unix_redox , use-cross: redoxer , skip-tests: true }
|
- { os: ubuntu-latest , target: x86_64-unknown-redox , features: feat_os_unix_redox , use-cross: redoxer , skip-tests: true }
|
||||||
- { os: ubuntu-latest , target: wasm32-unknown-unknown , default-features: false, features: uucore/format, skip-tests: true, skip-package: true, skip-publish: true }
|
- { os: ubuntu-latest , target: wasm32-unknown-unknown , default-features: false, features: uucore/format, skip-tests: true, skip-package: true, skip-publish: true }
|
||||||
- { os: macos-latest , target: aarch64-apple-darwin , features: feat_os_macos, workspace-tests: true } # M1 CPU
|
- { os: macos-latest , target: aarch64-apple-darwin , features: feat_os_macos, workspace-tests: true } # M1 CPU
|
||||||
# PR #7964: Mac should still build even if the feature is not enabled
|
|
||||||
- { os: macos-latest , target: aarch64-apple-darwin , workspace-tests: true } # M1 CPU
|
|
||||||
- { os: macos-13 , target: x86_64-apple-darwin , features: feat_os_macos, workspace-tests: true }
|
- { os: macos-13 , target: x86_64-apple-darwin , features: feat_os_macos, workspace-tests: true }
|
||||||
- { os: windows-latest , target: i686-pc-windows-msvc , features: feat_os_windows }
|
- { os: windows-latest , target: i686-pc-windows-msvc , features: feat_os_windows }
|
||||||
- { os: windows-latest , target: x86_64-pc-windows-gnu , features: feat_os_windows }
|
- { os: windows-latest , target: x86_64-pc-windows-gnu , features: feat_os_windows }
|
||||||
|
|
14
GNUmakefile
14
GNUmakefile
|
@ -58,13 +58,6 @@ TOYBOX_ROOT := $(BASEDIR)/tmp
|
||||||
TOYBOX_VER := 0.8.12
|
TOYBOX_VER := 0.8.12
|
||||||
TOYBOX_SRC := $(TOYBOX_ROOT)/toybox-$(TOYBOX_VER)
|
TOYBOX_SRC := $(TOYBOX_ROOT)/toybox-$(TOYBOX_VER)
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
|
||||||
# Detect the host system.
|
|
||||||
# On Windows the environment already sets OS = Windows_NT.
|
|
||||||
# Otherwise let it default to the kernel name returned by uname -s
|
|
||||||
# (Linux, Darwin, FreeBSD, …).
|
|
||||||
#------------------------------------------------------------------------
|
|
||||||
OS ?= $(shell uname -s)
|
|
||||||
|
|
||||||
ifdef SELINUX_ENABLED
|
ifdef SELINUX_ENABLED
|
||||||
override SELINUX_ENABLED := 0
|
override SELINUX_ENABLED := 0
|
||||||
|
@ -188,13 +181,6 @@ SELINUX_PROGS := \
|
||||||
chcon \
|
chcon \
|
||||||
runcon
|
runcon
|
||||||
|
|
||||||
$(info Detected OS = $(OS))
|
|
||||||
|
|
||||||
# Don't build the SELinux programs on macOS (Darwin)
|
|
||||||
ifeq ($(OS),Darwin)
|
|
||||||
SELINUX_PROGS :=
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq ($(OS),Windows_NT)
|
ifneq ($(OS),Windows_NT)
|
||||||
PROGS := $(PROGS) $(UNIX_PROGS)
|
PROGS := $(PROGS) $(UNIX_PROGS)
|
||||||
# Build the selinux command even if not on the system
|
# Build the selinux command even if not on the system
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue