diff options
author | Robin Watts <robin.watts@artifex.com> | 2011-02-14 13:34:36 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2011-02-14 13:34:36 +0000 |
commit | bca07fbc3392a1a90e41368c58eee2fd6207fb81 (patch) | |
tree | 72e953518c275bf695ba7f2acd19895c79140f61 /main | |
parent | 993d79b4b23d500bbb350cd8167ab265ba74bb89 (diff) |
Force HAVE_SSE2 define on for all GhostPDL builds. This is a short term
measure until we get some AutoConf magic in. For builds for old x86
machines (or non x86 machines) add HAVE_SSE2_DEFINE="" to your make
invocation.
No differences expected.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12151 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'main')
-rw-r--r-- | main/pcl6_gcc.mak | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/main/pcl6_gcc.mak b/main/pcl6_gcc.mak index 8cc4d7145..f816f0605 100644 --- a/main/pcl6_gcc.mak +++ b/main/pcl6_gcc.mak @@ -188,12 +188,17 @@ HAVE_MKSTEMP_DEFINE?=-DHAVE_MKSTEMP HAVE_HYPOT_DEFINE?=-DHAVE_HYPOT HAVE_NO_STRICT_ALIASING_WARNING?=-Wno-strict-aliasing +# We assume SSE2 extensions here. This is a problem for non-x86 (or old +# x86 builds). To avoid this use make HAVE_SSE2_DEFINE="" +HAVE_SSE2_DEFINE?=-DHAVE_SSE2 + GCFLAGS?=-Wall -Wundef -Wstrict-prototypes -Wmissing-declarations \ -Wmissing-prototypes -Wpointer-arith \ -Wwrite-strings $(HAVE_NO_STRICT_ALIASING_WARNING) \ -fno-builtin -fno-common \ $(HAVE_STDINT_H_DEFINE) $(HAVE_MKSTEMP_DEFINE) $(HAVE_HYPOT_DEFINE) \ - $(GX_COLOR_INDEX_DEFINE) $(PSICFLAGS) $(PDL_INCLUDE_FLAGS) + $(GX_COLOR_INDEX_DEFINE) $(PSICFLAGS) $(PDL_INCLUDE_FLAGS) \ + $(HAVE_SSE2_DEFINE) CFLAGS?= $(GCFLAGS) $(XCFLAGS) |