Changeset 5df241b in dotfiles


Ignore:
Timestamp:
Apr 20, 2022, 1:52:47 AM (3 years ago)
Author:
Mikhail Kirillov <w96k@…>
Branches:
master
Children:
df67010
Parents:
27aac88
Message:

Add NATIVE_FULL_AOT=1 for emacs with native compilation;

Also remove core2 optimizations.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • guix/.guix-packages/emacs.scm

    r27aac88 r5df241b  
    103103             ;; "--with-libxft"
    104104             ;; "--with-xdbe=no"
    105              "CFLAGS=-O3 -g -march=core2 -mtune=core2 -fcommon" ;; -pipe
     105             "CFLAGS=-O3 -g -fcommon -pipe"
    106106             ))))
    107107   (inputs
     
    126126      (arguments
    127127       (substitute-keyword-arguments
    128            (package-arguments emacs-28)
     128        (package-arguments emacs-28)
     129        ((#:make-flags flags ''())
     130                `(cons* "NATIVE_FULL_AOT=1" ,flags))
    129131         ((#:configure-flags flags ''())
    130132          `(cons* "--with-native-compilation"
    131                   "NATIVE_FULL_AOT=1"
    132                   "CFLAGS=-O3 -g -fcommon -march=core2 -mtune=core2 -fcommon -pipe"
     133                  "CFLAGS=-O3 -g -fcommon -fcommon -pipe"
    133134                  ,flags))
    134135         ((#:phases phases ''())
Note: See TracChangeset for help on using the changeset viewer.