summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-12-26 22:25:31 +0000
committerKarl Berry <karl@freefriends.org>2017-12-26 22:25:31 +0000
commit0a2164001a152f2059dbbf13271094a911c1b17f (patch)
tree863169be40a957441e3e0785a65378b007730c8b /Build
parent6b80d8a626ad8862dde2035d12d9633f91773303 (diff)
need _GNU_SOURCE for locale extensions
git-svn-id: svn://tug.org/texlive/trunk@46144 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/libs/harfbuzz/ChangeLog5
-rwxr-xr-xBuild/source/libs/harfbuzz/configure2
-rw-r--r--Build/source/libs/harfbuzz/configure.ac2
3 files changed, 7 insertions, 2 deletions
diff --git a/Build/source/libs/harfbuzz/ChangeLog b/Build/source/libs/harfbuzz/ChangeLog
index 78e5b40675b..fc94e43cd08 100644
--- a/Build/source/libs/harfbuzz/ChangeLog
+++ b/Build/source/libs/harfbuzz/ChangeLog
@@ -1,3 +1,8 @@
+2017-12-26 Karl Berry <karl@tug.org>
+
+ * configure.ac (CXXFLAGS): add -D_GNU_SOURCE.
+ From Ken Brown, tlbuild mail 26 Dec 2017 11:09:01.
+
2017-12-20 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
Import harfbuzz-1.7.4.
diff --git a/Build/source/libs/harfbuzz/configure b/Build/source/libs/harfbuzz/configure
index 944395a6d36..b420aac5be1 100755
--- a/Build/source/libs/harfbuzz/configure
+++ b/Build/source/libs/harfbuzz/configure
@@ -6332,7 +6332,7 @@ if test "x$GCC" = "xyes"; then
LDFLAGS="$LDFLAGS -Bsymbolic-functions"
# Choose C++ version
- CXXFLAGS="$CXXFLAGS -std=c++11"
+ CXXFLAGS="$CXXFLAGS -std=c++11 -D_GNU_SOURCE"
# Make sure we don't link to libstdc++
CXXFLAGS="$CXXFLAGS -fno-rtti -fno-exceptions"
diff --git a/Build/source/libs/harfbuzz/configure.ac b/Build/source/libs/harfbuzz/configure.ac
index 3e8be57c3b3..eb0f0e33cff 100644
--- a/Build/source/libs/harfbuzz/configure.ac
+++ b/Build/source/libs/harfbuzz/configure.ac
@@ -44,7 +44,7 @@ if test "x$GCC" = "xyes"; then
LDFLAGS="$LDFLAGS -Bsymbolic-functions"
# Choose C++ version
- CXXFLAGS="$CXXFLAGS -std=c++11"
+ CXXFLAGS="$CXXFLAGS -std=c++11 -D_GNU_SOURCE"
# Make sure we don't link to libstdc++
CXXFLAGS="$CXXFLAGS -fno-rtti -fno-exceptions"