about summary refs log tree commit diff
path: root/guix.scm
diff options
context:
space:
mode:
Diffstat (limited to 'guix.scm')
-rw-r--r--guix.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/guix.scm b/guix.scm
index 23b7583..b46b832 100644
--- a/guix.scm
+++ b/guix.scm
@@ -80,6 +80,9 @@
       #:make-flags
       #~(list (string-append "PREFIX=" #$output)
               (string-append "CFLAGS=-O3 -g -Wno-incompatible-pointer-types -Wno-error=implicit-function-declaration")
+              "COPT="
+              "COMMON_OPT="
+              "DYNAMIC_ARCH="
               "SHELL=bash"
               "MAKE_NB_JOBS=0"          ;use jobserver for submakes
 
@@ -103,7 +106,8 @@
                          (target-aarch64?))
                      ;; Dynamic older enables a few extra CPU architectures
                      ;; on x86_64 that were released before 2010.
-                     '("DYNAMIC_ARCH=1" "DYNAMIC_OLDER=1" "TARGET=GENERIC"))
+                     '("DYNAMIC_ARCH=1" "TARGET=GENERIC"))
+                     ;; '("DYNAMIC_ARCH=" "TARGET_CORE=ZEN"))
                     ;; On some of these architectures the CPU type can't be detected.
                     ;; We list the oldest CPU core we want to have support for.
                     ;; On MIPS we force the "SICORTEX" TARGET, as for the other