From d4354b4873d73a6e59facceb2f8d15b97ffa1fbe Mon Sep 17 00:00:00 2001 From: Wendell Thompson Date: Thu, 11 Feb 2010 17:35:49 +0000 Subject: [PATCH] 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 --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index bfc8a10..effd676 100644 --- a/Makefile +++ b/Makefile @@ -119,6 +119,11 @@ else LIBPRI_OPT = -O2 endif +ifeq ($(CPUARCH),i686) +CFLAGS += -m32 +SOFLAGS += -m32 +endif + all: $(STATIC_LIBRARY) $(DYNAMIC_LIBRARY) update: