diff options
-rw-r--r-- | gnu/packages/xorg.scm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm index f7fe843bdd..6f202c2d7d 100644 --- a/gnu/packages/xorg.scm +++ b/gnu/packages/xorg.scm @@ -3479,6 +3479,11 @@ X server.") (lambda* (#:key outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out"))) (setenv "CC" (which "gcc")) + (setenv "CFLAGS" + (string-append + "-g -O2 " + "-Wno-error=incompatible-pointer-types " + "-Wno-error=stringop-truncation")) (setenv "DESTDIR" out) (invoke "./configure" "--with-x86emu")))) (add-after 'build 'build-testvbe |