Fix ./configure --enable-m32
Review URL: http://breakpad.appspot.com/197001
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@692 4c0a9323-5329-0410-9bdc-e9ce6186880e
diff --git a/configure b/configure
index 9823e10..1e95fe9 100755
--- a/configure
+++ b/configure
@@ -14955,7 +14955,8 @@
if test "${enable_m32+set}" = set; then :
enableval=$enable_m32; case "${enableval}" in
yes)
- CFLAGS=$(CFLAGS) -m32
+ CFLAGS="${CFLAGS} -m32"
+ CXXFLAGS="${CXXFLAGS} -m32"
usem32=true
;;
no)
diff --git a/configure.ac b/configure.ac
index 2a3ed2c..f85db34 100644
--- a/configure.ac
+++ b/configure.ac
@@ -65,7 +65,8 @@
[(default is no)]),
[case "${enableval}" in
yes)
- CFLAGS=$(CFLAGS) -m32
+ CFLAGS="${CFLAGS} -m32"
+ CXXFLAGS="${CXXFLAGS} -m32"
usem32=true
;;
no)