aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2010-09-16 23:29:13 +0000
committerthestig@chromium.org <thestig@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2010-09-16 23:29:13 +0000
commitc40bcc74d994cabd9696e241f6a84355623b5d9e (patch)
treefd32c9e9ef98ba0f8ed4562e891cdf3bb0c84262
parentFix compilation for minidump-2-core. (diff)
downloadbreakpad-c40bcc74d994cabd9696e241f6a84355623b5d9e.tar.xz
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
-rwxr-xr-xconfigure3
-rw-r--r--configure.ac3
2 files changed, 4 insertions, 2 deletions
diff --git a/configure b/configure
index 9823e107..1e95fe90 100755
--- a/configure
+++ b/configure
@@ -14955,7 +14955,8 @@ fi
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 2a3ed2c8..f85db345 100644
--- a/configure.ac
+++ b/configure.ac
@@ -65,7 +65,8 @@ AC_ARG_ENABLE(m32,
[(default is no)]),
[case "${enableval}" in
yes)
- CFLAGS=$(CFLAGS) -m32
+ CFLAGS="${CFLAGS} -m32"
+ CXXFLAGS="${CXXFLAGS} -m32"
usem32=true
;;
no)