diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2007-11-01 03:46:46 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2007-11-01 03:46:46 +0000 |
commit | 0abf54ac47a2407952173e476e19e8d69e680e00 (patch) | |
tree | c8e5943e39afb62330ccf3e5d3f4b7bad094a9bb /externals/Makefile | |
parent | b8a43458998e2e87e39da7ccbaa16af7d8904dc0 (diff) |
if the build machine as a i386 CPU, then enable MMX instructions for PDP
svn path=/trunk/; revision=8922
Diffstat (limited to 'externals/Makefile')
-rw-r--r-- | externals/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/externals/Makefile b/externals/Makefile index 186e5860..b88cd523 100644 --- a/externals/Makefile +++ b/externals/Makefile @@ -1905,13 +1905,19 @@ pdogg_clean: #------------------------------------------------------------------------------# # PDP +ifeq ($(ARCH),i386) + PDP_OPTIONS = --enable-quicktime --enable-mmx +else + PDP_OPTIONS = --enable-quicktime +endif + PDP_NAME=pdp $(externals_src)/pdp/configure: $(externals_src)/pdp/configure.ac cd $(externals_src)/pdp && autoconf $(externals_src)/pdp/Makefile.config: $(externals_src)/pdp/Makefile.config.in - cd $(externals_src)/pdp && ./configure PD_CPPFLAGS="-I$(pd_src)/src" - --disable-quicktime + cd $(externals_src)/pdp && ./configure PD_CPPFLAGS="-I$(pd_src)/src" \ + $(PDP_OPTIONS) $(externals_src)/pdp/pdp.$(EXTENSION): $(externals_src)/pdp/configure \ $(externals_src)/pdp/Makefile.config |