diff options
author | Henry Stiles <henry.stiles@artifex.com> | 2010-08-03 05:24:52 +0000 |
---|---|---|
committer | Henry Stiles <henry.stiles@artifex.com> | 2010-08-03 05:24:52 +0000 |
commit | c245676ed6dbfa973de8dd11f30932188e1e5da6 (patch) | |
tree | 5895e0f0aa301ddfcc95df539f761c9847d42e01 /main | |
parent | 29bed4652d35590e5632948044965bf2b0932f86 (diff) |
Add a makefile variable for gcc compiler option no-strict-aliasing,
patch from William Bader, fixes 691129.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@11592 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'main')
-rw-r--r-- | main/pcl6_gcc.mak | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/pcl6_gcc.mak b/main/pcl6_gcc.mak index 29592cc72..3a3c8b287 100644 --- a/main/pcl6_gcc.mak +++ b/main/pcl6_gcc.mak @@ -174,10 +174,11 @@ GX_COLOR_INDEX_DEFINE?=-DGX_COLOR_INDEX_TYPE="unsigned long" HAVE_STDINT_H_DEFINE?=-DHAVE_STDINT_H HAVE_MKSTEMP_DEFINE?=-DHAVE_MKSTEMP HAVE_HYPOT_DEFINE?=-DHAVE_HYPOT +HAVE_NO_STRICT_ALIASING_WARNING?=-Wno-strict-aliasing GCFLAGS?=-Wall -Wundef -Wstrict-prototypes -Wmissing-declarations \ -Wmissing-prototypes -Wpointer-arith \ - -Wwrite-strings -Wno-strict-aliasing \ + -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) |