[ci:ignore-count]: intended [ci:skip-build]: all patches still apply, no functional changes Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7721>
21 lines
765 B
Diff
21 lines
765 B
Diff
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -90,18 +90,6 @@ else
|
|
## OS detection. Comment out if gmake syntax not supported by other 'make'.
|
|
OSNAME:=$(shell uname -s)
|
|
ARCH ?= $(shell uname -m)
|
|
- ifeq ($(OSNAME),Linux)
|
|
- # Not all CPU architectures support "-march" or "-march=native".
|
|
- # - Supported : x86, x86_64, ARM, AARCH64, riscv64, etc..
|
|
- # - Not Supported: IBM Power, etc...
|
|
- ifeq ($(ARCH),$(filter $(ARCH),ppc64 ppc64le))
|
|
- OPTON += -mcpu=native -mtune=native
|
|
- else ifeq ($(ARCH),riscv64)
|
|
- OPTON += -march=rv64g -mabi=lp64d
|
|
- else
|
|
- OPTON += -march=native -mtune=native
|
|
- endif
|
|
- endif
|
|
|
|
ifeq ($(OSNAME),Darwin)
|
|
# (adjust flags or comment out this section for older versions of XCode or OS X)
|