aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-10-12 17:10:26 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-10-12 17:10:26 +0000
commit35d1965cf3bd20f08850780daaca636fdd36e7d9 (patch)
tree9476672f5d40540666c88de352c2ee2dee4ef400 /Makefile
parentfe5e2de5933a5b763753bf7c569f54fca0691869 (diff)
swig produces a .c file that has type-punning, so skip the auto-vectorization
svn path=/trunk/externals/loaders/tclpd/; revision=15577
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a9ad7c2..e077cd6 100644
--- a/Makefile
+++ b/Makefile
@@ -36,7 +36,8 @@ EXTRA_DIST = tcl.i tcl_extras.h pdlib.tcl $(TCLPD_SOURCES) ChangeLog.txt AUTHORS
#------------------------------------------------------------------------------#
ALL_CFLAGS = $(PD_INCLUDES) -std=c99 -I/usr/include/tcl8.5 \
- -fno-strict-aliasing \
+ -I/Library/Frameworks/Tcl.framework/Headers \
+ -fno-tree-vectorize -fno-strict-aliasing \
-Wall -W -Wno-unused-parameter
ALL_LDFLAGS =
SHARED_LDFLAGS =
@@ -127,7 +128,7 @@ ifeq ($(UNAME),Darwin)
FAT_FLAGS = -arch ppc -arch i386 -arch x86_64 -mmacosx-version-min=10.4
SOURCES += $(SOURCES_iphoneos)
endif
- ALL_CFLAGS += $(FAT_FLAGS) -fPIC -I/sw/include -I/Library/Frameworks/Tcl.framework/Headers
+ ALL_CFLAGS += $(FAT_FLAGS) -fPIC -I/sw/include
# if the 'pd' binary exists, check the linking against it to aid with stripping
BUNDLE_LOADER = $(shell test ! -e $(PD_PATH)/bin/pd || echo -bundle_loader $(PD_PATH)/bin/pd)
ALL_LDFLAGS += $(FAT_FLAGS) -bundle $(BUNDLE_LOADER) -undefined dynamic_lookup -L/sw/lib