Added CPUARCH option for selecting a 32-bit build from the command line.

git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@1482 2fbb986a-6c06-0410-b554-c9c1f0a7f128
This commit is contained in:
Wendell Thompson 2010-02-11 17:35:49 +00:00
parent 9d9412e681
commit d4354b4873

View File

@ -119,6 +119,11 @@ else
LIBPRI_OPT = -O2
endif
ifeq ($(CPUARCH),i686)
CFLAGS += -m32
SOFLAGS += -m32
endif
all: $(STATIC_LIBRARY) $(DYNAMIC_LIBRARY)
update: