summaryrefslogtreecommitdiff
path: root/libatomic
diff options
context:
space:
mode:
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2012-05-07 16:10:11 +0000
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2012-05-07 16:10:11 +0000
commit4f76c3cf3138bb5779832d5aae740fe8ecf5084d (patch)
treec640a61bd111360244a9616c01b58c23f79a0f5f /libatomic
parent7c0618c6aec168b2da247f86c6b9aea48622cb3a (diff)
downloadgcc-4f76c3cf3138bb5779832d5aae740fe8ecf5084d.tar.gz
Don't include XCFLAGS in CFLAGS
* configure.ac: Add $XPCFLAGS to CFLAGS, not $XCFLAGS. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187256 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libatomic')
-rw-r--r--libatomic/ChangeLog5
-rwxr-xr-xlibatomic/configure2
-rw-r--r--libatomic/configure.ac2
3 files changed, 7 insertions, 2 deletions
diff --git a/libatomic/ChangeLog b/libatomic/ChangeLog
index 90dd53bb1ba..fac6b3119e3 100644
--- a/libatomic/ChangeLog
+++ b/libatomic/ChangeLog
@@ -1,3 +1,8 @@
+2012-05-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * configure.ac: Add $XPCFLAGS to CFLAGS, not $XCFLAGS.
+ * configure: Regenerate.
+
2012-05-03 Richard Henderson <rth@redhat.com>
* configure.ac (AM_MAINTAINER_MODE): New.
diff --git a/libatomic/configure b/libatomic/configure
index b48e8f1e766..bfb8a518a81 100755
--- a/libatomic/configure
+++ b/libatomic/configure
@@ -14421,7 +14421,7 @@ rm -f core conftest.err conftest.$ac_objext \
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
- CFLAGS="$save_CFLAGS $XCFLAGS"
+ CFLAGS="$save_CFLAGS $XPCFLAGS"
;;
esac
diff --git a/libatomic/configure.ac b/libatomic/configure.ac
index 1b4f325d30c..390e7791aba 100644
--- a/libatomic/configure.ac
+++ b/libatomic/configure.ac
@@ -206,7 +206,7 @@ case " $config_path " in
[pthread_t t; pthread_create(&t,NULL,g,NULL);])],
[],
[AC_MSG_ERROR([Pthreads are required to build libatomic])])])
- CFLAGS="$save_CFLAGS $XCFLAGS"
+ CFLAGS="$save_CFLAGS $XPCFLAGS"
;;
esac