File: use-mx32

package info (click to toggle)
genometools 1.6.6%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 50,576 kB
  • sloc: ansic: 271,876; ruby: 29,930; python: 5,106; sh: 3,083; makefile: 1,213; perl: 219; pascal: 159; haskell: 37; sed: 5
file content (34 lines) | stat: -rw-r--r-- 686 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Description: Use mx32
Origin: vendor
--- a/Makefile
+++ b/Makefile
@@ -358,17 +358,19 @@
   endif
 endif
 
-ifeq ($(m32),yes)
-  GT_CFLAGS += -m32
-  GT_LDFLAGS += -m32
-  SQLITE_CFLAGS += -m32
-endif
+ifneq ($(x32),yes)
+  ifeq ($(m32),yes)
+    GT_CFLAGS += -m32
+    GT_LDFLAGS += -m32
+    SQLITE_CFLAGS += -m32
+  endif
 
-ifeq ($(m64),yes)
-  ifeq (,$(filter $(MACHINE),ia64 alpha mips64 mips64el aarch64))
-    GT_CFLAGS += -m64
-    GT_LDFLAGS += -m64
-    SQLITE_CFLAGS += -m64
+  ifeq ($(m64),yes)
+    ifeq (,$(filter $(MACHINE),ia64 alpha mips64 mips64el aarch64))
+      GT_CFLAGS += -m64
+      GT_LDFLAGS += -m64
+      SQLITE_CFLAGS += -m64
+    endif
   endif
 endif