diff options
author | Johannes Schlüter <johannes@php.net> | 2009-06-26 15:42:11 +0000 |
---|---|---|
committer | Johannes Schlüter <johannes@php.net> | 2009-06-26 15:42:11 +0000 |
commit | e1ae9330311232385914e8151e24d2566396dde3 (patch) | |
tree | 4fdc1f5f158ab6faeb6daa6d5c2a716a4ea3c72c | |
parent | 30fce08b23a801490bffef68359eea46d0089eea (diff) | |
download | php-git-e1ae9330311232385914e8151e24d2566396dde3.tar.gz |
Fix trouble with memory alignment on Sparch, see #48668 (David)
-rw-r--r-- | configure.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 32fd0e695e..468722a6d8 100644 --- a/configure.in +++ b/configure.in @@ -217,8 +217,11 @@ case $host_cpu in ;; sparc*) if test "$SUNCC" = "yes"; then - CFLAGS="$CFLAGS -xmemalign=8s" + CFLAGS="$CFLAGS -xmemalign=8i" + else + CFLAGS="" fi + ;; esac dnl activate some gcc specific optimizations for gcc >= 4 |