From e06d318df90da9492b63c445bf22bff767e89cbe Mon Sep 17 00:00:00 2001
From: vasil <Unknown>
Date: Wed, 30 Apr 2008 07:54:49 +0000
Subject: [PATCH] branches/5.1:

Fix r2430, it should be CFLAGS="$CFLAGS ..." not CFLAGS="..."
---
 plug.in | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/plug.in b/plug.in
index 2df2a15a41..1bd3a3d4f2 100644
--- a/plug.in
+++ b/plug.in
@@ -16,17 +16,17 @@ MYSQL_PLUGIN_ACTIONS(innobase,  [
   AC_C_BIGENDIAN
   case "$target_os" in
          lin*)
-           CFLAGS="-DUNIV_LINUX";;
+           CFLAGS="$CFLAGS -DUNIV_LINUX";;
          hpux10*)
-           CFLAGS="-DUNIV_MUST_NOT_INLINE -DUNIV_HPUX -DUNIV_HPUX10";;
+           CFLAGS="$CFLAGS -DUNIV_MUST_NOT_INLINE -DUNIV_HPUX -DUNIV_HPUX10";;
          hp*)
-           CFLAGS="-DUNIV_MUST_NOT_INLINE -DUNIV_HPUX";;
+           CFLAGS="$CFLAGS -DUNIV_MUST_NOT_INLINE -DUNIV_HPUX";;
          aix*)
-           CFLAGS="-DUNIV_AIX";;
+           CFLAGS="$CFLAGS -DUNIV_AIX";;
          irix*|osf*|sysv5uw7*|openbsd*)
-           CFLAGS="-DUNIV_MUST_NOT_INLINE";;
+           CFLAGS="$CFLAGS -DUNIV_MUST_NOT_INLINE";;
          *solaris*|*SunOS*)
-           CFLAGS="-DUNIV_SOLARIS";;
+           CFLAGS="$CFLAGS -DUNIV_SOLARIS";;
   esac
   INNODB_DYNAMIC_CFLAGS="-DMYSQL_DYNAMIC_PLUGIN"
   case "$target_cpu" in
-- 
2.30.9