From 3d02ed889409c74b443955414b2133a4435a6ecc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ingy=20d=C3=B6t=20Net?= Date: Sun, 29 Dec 2024 18:11:58 -0500 Subject: [PATCH] build: Use -march=compatibility to support more cpus --- common/native.mk | 1 + core/src/ys/clj.clj | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/common/native.mk b/common/native.mk index d7497208e..87b48eb29 100644 --- a/common/native.mk +++ b/common/native.mk @@ -6,6 +6,7 @@ NATIVE_OPTS := \ --initialize-at-build-time \ --enable-preview \ --enable-url-protocols=https \ + -march=compatibility \ -H:ReflectionConfigurationFiles=reflection.json \ -H:+ReportExceptionStackTraces \ -H:IncludeResources=SCI_VERSION \ diff --git a/core/src/ys/clj.clj b/core/src/ys/clj.clj index cb6e3097f..0aa1710d2 100644 --- a/core/src/ys/clj.clj +++ b/core/src/ys/clj.clj @@ -1,9 +1,9 @@ ;; Copyright 2023-2024 Ingy dot Net ;; This code is licensed under MIT license (See License for details) -;; This library containss the clojure.core functions that are replace by the +;; This library contains the clojure.core functions that are replaced by the ;; ys::std library. -;; They can be accesed with clj/foo instead of foo. +;; They can be accessed with clj/foo instead of foo. (ns ys.clj (:refer-clojure :only [intern]))