awips2/nativeLib/build.native/makefile.arch
Bryan Kowal f92eb59a73 Issue #777 - Merge branch thunder:8-64Bit (OB12.6.1-10) into AWIPS2_baseline:merge_development
Former-commit-id: cb9c284220bb65f5e2f212a27a03def7aed29480
2012-07-10 16:57:16 -05:00

12 lines
No EOL
212 B
Text

ARCHFLAGS =
ifndef ARCHFLAGS
ARCH ?= $(shell uname -i)
ifeq ($(ARCH),x86_64)
export CFLAGS := $(CFLAGS) -m64
else
export CFLAGS := $(CFLAGS) -m32
endif
else
export CFLAGS := $(CFLAGS) $(ARCHFLAGS)
endif