]> git.buserror.net Git - polintos/scott/priv.git/blobdiff - Makefile.target
makefile: introduce target flags (TFLAGS)
[polintos/scott/priv.git] / Makefile.target
index 19c773cd5bf7c9cbae04efb7d8c5bd0f7356b293..0c09d332f92a69aaffcf3942a49f1d5b692cc125 100644 (file)
@@ -11,12 +11,14 @@ DEFS := $(EXTRADEFS)
 ifeq ($(ARCH),x86)
 CROSS := i686-polintos-
 DEFS += -DBITFIELD_LE -D__LITTLE_ENDIAN
+TFLAGS += -m32
 VALIDARCH := yes
 endif
 
 ifeq ($(ARCH),x64)
 CROSS := x86_64-polintos-
 DEFS += -DBITFIELD_LE -D__LITTLE_ENDIAN
+TFLAGS += -m64
 VALIDARCH := yes
 endif