Permalink
Browse files

Conditionalize -m<arch> flag on ISA features

  • Loading branch information...
1 parent 36128ad commit e35bbe2deefe93063c4026c97d0c98638b4224d5 @lichtblau lichtblau committed with Apr 27, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/grovel/grovel.lisp
View
@@ -255,6 +255,9 @@ int main(int argc, char**argv) {
;;; FIXME: is there a better way to detect whether these flags
;;; are necessary?
(defparameter *cpu-word-size-flags*
+ #-(or x86 x86-64 sparc sparc64)
+ '()
+ #+(or x86 x86-64 sparc sparc64)
(ecase (cffi:foreign-type-size :long)
(4 (list "-m32"))
(8 (list "-m64"))))

0 comments on commit e35bbe2

Please sign in to comment.